File tree Expand file tree Collapse file tree 1 file changed +8
-14
lines changed Expand file tree Collapse file tree 1 file changed +8
-14
lines changed Original file line number Diff line number Diff line change @@ -25,27 +25,21 @@ jobs:
2525
2626 macos :
2727 name : Build and test on macos-latest
28- runs-on : macOS -latest
28+ runs-on : macos -latest
2929 steps :
30- - uses : actions/checkout@v2
31- - name : Set code coverage path
32- run : echo "codecov_path=$(swift test --show-codecov-path)" >> $GITHUB_ENV
33- - name : Test and publish code coverage to Code Climate
34- uses : paulofaria/codeclimate-action@master
35- env :
36- CC_TEST_REPORTER_ID : ${{secrets.CC_TEST_REPORTER_ID}}
37- with :
38- downloadUrl : https://github.com/paulofaria/test-reporter/releases/download/0.9.0/test-reporter-0.9.0-darwin-amd64
39- coverageCommand : swift test --enable-test-discovery --enable-code-coverage
40- coverageLocations : ${{ env.codecov_path }}:lcov-json
30+ - uses : swift-actions/setup-swift@v1
31+ - uses : actions/checkout@v3
32+ - name : Test
33+ run : swift test
34+
4135 # ubuntu-latest is ubuntu-22.04 currently. Swift versions older than 5.7 don't have builds for 22.04. https://www.swift.org/download/
4236 ubuntu-old :
4337 name : Build ${{ matrix.swift }} on ${{ matrix.os }}
4438 runs-on : ${{ matrix.os }}
4539 strategy :
4640 matrix :
4741 os : [ubuntu-20.04]
48- swift : ["5.4", "5. 5", "5.6"]
42+ swift : ["5.5", "5.6"]
4943 steps :
5044 - uses : swift-actions/setup-swift@v1
5145 with :
6054 strategy :
6155 matrix :
6256 os : [ubuntu-latest]
63- swift : ["5.7"]
57+ swift : ["5.7", "5.8" ]
6458 steps :
6559 - uses : swift-actions/setup-swift@v1
6660 with :
You can’t perform that action at this time.
0 commit comments