Skip to content

Commit d21112e

Browse files
authored
Update ci.yml
Signed-off-by: Gray Campbell <[email protected]>
1 parent a6c3a55 commit d21112e

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,10 @@ jobs:
1818
- name: Checkout source code
1919
uses: actions/checkout@v4
2020

21-
- name: Set up Swift
22-
uses: swift-actions/setup-swift@v2
23-
24-
- name: Verify Swift version
25-
run: swift --version
21+
- name: Set up Xcode
22+
uses: maxim-lobanov/setup-xcode@v1
23+
with:
24+
xcode-version: latest
2625

2726
- name: Install dependencies
2827
run: swift package resolve
@@ -33,11 +32,6 @@ jobs:
3332
- name: Run tests with code coverage
3433
run: swift test --enable-code-coverage
3534

36-
- name: Set up Xcode
37-
uses: maxim-lobanov/setup-xcode@v1
38-
with:
39-
xcode-version: latest
40-
4135
- name: Gather code coverage
4236
run: xcrun llvm-cov export -format="lcov" .build/debug/SwiftSyntaxSugarPackageTests.xctest/Contents/MacOS/SwiftSyntaxSugarPackageTests -instr-profile .build/debug/codecov/default.profdata > coverage_report.lcov
4337

0 commit comments

Comments
 (0)