Skip to content

Commit

Permalink
Fix Action
Browse files Browse the repository at this point in the history
  • Loading branch information
Byrdman32 committed Jul 15, 2024
1 parent 0660bfc commit c50cd27
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Swift
name: Swift Tests

on:
push:
Expand All @@ -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
Expand Down

0 comments on commit c50cd27

Please sign in to comment.