File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change 11
11
12
12
jobs :
13
13
lint :
14
- runs-on : macos-13
14
+ runs-on : macos-latest
15
15
environment : default
16
16
steps :
17
17
- uses : actions/checkout@v4
18
18
- name : SwiftFormat version
19
19
run : swiftformat --version
20
20
- name : Format lint
21
21
run : swiftformat --lint .
22
+ - name : Install SwiftLint
23
+ run : brew install swiftlint
22
24
- name : SwiftLint version
23
25
run : swiftlint --version
24
26
- name : Lint
25
27
run : swiftlint lint --quiet
26
28
macos-test :
27
- runs-on : macos-13
29
+ runs-on : macos-latest
28
30
environment : default
29
- strategy :
30
- matrix :
31
- xcode : ["14.3", "15.0"]
32
- # Swift: 5.8 , 5.9
33
31
steps :
34
32
- uses : actions/checkout@v4
35
- - name : Select Xcode ${{ matrix.xcode }}
36
- run : sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
37
33
- name : Run Tests
38
34
run : swift test --enable-code-coverage --parallel
39
35
- name : Swift Coverage Report
40
36
run : xcrun llvm-cov export -format="lcov" .build/debug/swift-argument-encodingPackageTests.xctest/Contents/MacOS/swift-argument-encodingPackageTests -instr-profile .build/debug/codecov/default.profdata > coverage_report.lcov
41
- - uses : codecov/codecov-action@v4
37
+ - uses : codecov/codecov-action@v5
42
38
with :
43
39
token : ${{ secrets.CODECOV_TOKEN }}
44
40
fail_ci_if_error : true # optional (default = false)
47
43
environment : default
48
44
49
45
steps :
50
- - uses : actions/checkout@v3
46
+ - uses : actions/checkout@v4
51
47
- name : Run Tests
52
48
run : swift test --parallel
You can’t perform that action at this time.
0 commit comments