Skip to content

Commit 9f8c123

Browse files
committed
Update workflow
feature/update-workflow
1 parent b2660f3 commit 9f8c123

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,34 +11,30 @@ on:
1111

1212
jobs:
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)
@@ -47,6 +43,6 @@ jobs:
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

0 commit comments

Comments
 (0)