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 1111
1212jobs :
1313 lint :
14- runs-on : macos-13
14+ runs-on : macos-latest
1515 environment : default
1616 steps :
1717 - uses : actions/checkout@v4
1818 - name : SwiftFormat version
1919 run : swiftformat --version
2020 - name : Format lint
2121 run : swiftformat --lint .
22+ - name : Install SwiftLint
23+ run : brew install swiftlint
2224 - name : SwiftLint version
2325 run : swiftlint --version
2426 - name : Lint
2527 run : swiftlint lint --quiet
2628 macos-test :
27- runs-on : macos-13
29+ runs-on : macos-latest
2830 environment : default
29- strategy :
30- matrix :
31- xcode : ["14.3", "15.0"]
32- # Swift: 5.8 , 5.9
3331 steps :
3432 - uses : actions/checkout@v4
35- - name : Select Xcode ${{ matrix.xcode }}
36- run : sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
3733 - name : Run Tests
3834 run : swift test --enable-code-coverage --parallel
3935 - name : Swift Coverage Report
4036 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
4238 with :
4339 token : ${{ secrets.CODECOV_TOKEN }}
4440 fail_ci_if_error : true # optional (default = false)
4743 environment : default
4844
4945 steps :
50- - uses : actions/checkout@v3
46+ - uses : actions/checkout@v4
5147 - name : Run Tests
5248 run : swift test --parallel
You can’t perform that action at this time.
0 commit comments