diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 37a6daa..0378cdb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,4 +1,4 @@ -name: Swift +name: Swift Tests on: push: @@ -17,23 +17,23 @@ jobs: uses: actions/checkout@v4 - name: Set up Swift - uses: fwal/setup-swift@v1 + uses: fwal/setup-swift@v2 with: - swift-version: '5.10' # Update to your required Swift version + swift-version: '5.10' - name: Build and run tests run: swift test - name: Archive test results if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: test-results path: .build/debug/TestResults.xcresult - name: Upload test coverage report if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: test-coverage path: .build/debug/codecov