Skip to content

Commit c68e5a8

Browse files
Update CI workflows to use Xcode setup action and remove experimental prebuilts flag
1 parent 5b0006b commit c68e5a8

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/codeql.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ jobs:
6464
# or others). This is typically only required for manual builds.
6565
# - name: Setup runtime (example)
6666
# uses: actions/setup-example@v1
67+
- uses: maxim-lobanov/setup-xcode@v1
68+
with:
69+
xcode-version: '26.0-beta'
6770

6871
# Initializes the CodeQL tools for scanning.
6972
- name: Initialize CodeQL
@@ -86,7 +89,7 @@ jobs:
8689
# ℹ️ Command-line programs to run using the OS shell.
8790
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
8891
- if: matrix.build-mode == 'manual'
89-
run: swift build -v --enable-experimental-prebuilts
92+
run: swift build -v
9093

9194
- name: Perform CodeQL Analysis
9295
uses: github/codeql-action/analyze@v3

.github/workflows/swift.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,11 @@ jobs:
1515
runs-on: macos-latest
1616
steps:
1717
- uses: actions/checkout@v5
18+
- uses: maxim-lobanov/setup-xcode@v1
19+
with:
20+
xcode-version: '26.0-beta'
1821
- name: Run tests
19-
run: swift test -v --enable-code-coverage --enable-experimental-prebuilts
22+
run: swift test -v --enable-code-coverage
2023
- name: Export coverage report as Lcov
2124
run: xcrun llvm-cov export -format="lcov" -instr-profile=.build/arm64-apple-macosx/debug/codecov/default.profdata .build/arm64-apple-macosx/debug/ShitLibPackageTests.xctest/Contents/MacOS/ShitLibPackageTests > lcov.info
2225
- uses: codecov/codecov-action@v5

0 commit comments

Comments
 (0)