diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3f0c3b3..61184fb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,7 +29,7 @@ jobs: container: swift:noble steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: { 'fetch-depth': 0 } - name: API breaking changes run: | @@ -46,9 +46,9 @@ jobs: - postgres:15 - postgres:13 swift-image: - - swift:5.9-jammy - - swift:5.10-noble + - swift:5.10-jammy - swift:6.0-noble + - swift:6.1-noble include: - postgres-image: postgres:17 postgres-auth: scram-sha-256 @@ -69,9 +69,9 @@ jobs: POSTGRES_INITDB_ARGS: --auth-host=${{ matrix.postgres-auth }} steps: - name: Check out package - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Run local tests - run: swift test --sanitize=thread --enable-code-coverage + run: swift test --enable-code-coverage - name: Upload coverage data uses: vapor/swift-codecov-action@v0.3 with: @@ -80,7 +80,7 @@ jobs: linux-integration: if: ${{ !(github.event.pull_request.draft || false) }} runs-on: ubuntu-latest - container: swift:6.0-noble + container: swift:6.1-noble services: psql-a: image: postgres:17 @@ -100,15 +100,15 @@ jobs: POSTGRES_INITDB_ARGS: --auth-host=scram-sha-256 steps: - name: Check out package - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: { path: 'postgres-kit' } - name: Check out fluent-postgres-driver dependent - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: { repository: 'vapor/fluent-postgres-driver', path: 'fluent-postgres-driver' } - name: Use local package run: swift package --package-path fluent-postgres-driver edit postgres-kit --path postgres-kit - name: Run fluent-postgres-kit tests - run: swift test --package-path fluent-postgres-driver --sanitize=thread + run: swift test --package-path fluent-postgres-driver macos-unit: if: ${{ !(github.event.pull_request.draft || false) }} @@ -138,9 +138,9 @@ jobs: pg_ctl start --wait timeout-minutes: 15 - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Run local tests - run: swift test --sanitize=thread --enable-code-coverage + run: swift test --enable-code-coverage - name: Upload coverage data uses: vapor/swift-codecov-action@v0.3 with: @@ -148,12 +148,12 @@ jobs: musl: runs-on: ubuntu-latest - container: swift:6.0-noble + container: swift:6.1-noble timeout-minutes: 30 steps: - name: Check out code - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Install SDK - run: swift sdk install https://download.swift.org/swift-6.0.3-release/static-sdk/swift-6.0.3-RELEASE/swift-6.0.3-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz --checksum 67f765e0030e661a7450f7e4877cfe008db4f57f177d5a08a6e26fd661cdd0bd + run: swift sdk install https://download.swift.org/swift-6.1.2-release/static-sdk/swift-6.1.2-RELEASE/swift-6.1.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz --checksum df0b40b9b582598e7e3d70c82ab503fd6fbfdff71fd17e7f1ab37115a0665b3b - name: Build run: swift build --swift-sdk x86_64-swift-linux-musl