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:
25
25
26
26
macos :
27
27
name : Build and test on macos-latest
28
- runs-on : macOS -latest
28
+ runs-on : macos -latest
29
29
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
+
41
35
# 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/
42
36
ubuntu-old :
43
37
name : Build ${{ matrix.swift }} on ${{ matrix.os }}
44
38
runs-on : ${{ matrix.os }}
45
39
strategy :
46
40
matrix :
47
41
os : [ubuntu-20.04]
48
- swift : ["5.4", "5. 5", "5.6"]
42
+ swift : ["5.5", "5.6"]
49
43
steps :
50
44
- uses : swift-actions/setup-swift@v1
51
45
with :
60
54
strategy :
61
55
matrix :
62
56
os : [ubuntu-latest]
63
- swift : ["5.7"]
57
+ swift : ["5.7", "5.8" ]
64
58
steps :
65
59
- uses : swift-actions/setup-swift@v1
66
60
with :
You can’t perform that action at this time.
0 commit comments