diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 4066cc4..3761329 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -10,21 +10,16 @@ jobs: uses: actions/checkout@v1 with: fetch-depth: 1 - - name: Build - run: swift build - - name: Test + - name: Build and Test run: swift test linux: runs-on: ubuntu-latest strategy: matrix: - tag: ['5.0', '5.1'] + tag: ['5.0', '5.1', '5.2'] container: image: swift:${{ matrix.tag }} - volumes: - - $GITHUB_WORKSPACE:/src - options: --workdir /src steps: - name: Checkout uses: actions/checkout@v1 @@ -34,8 +29,6 @@ jobs: run: | apt-get update -qq apt-get install -q -y tzdata libssl-dev zlib1g-dev - - name: Build - run: swift build - - name: Test + - name: Build and Test run: swift test - +