Skip to content

Commit f0e1470

Browse files
Avoid local SwiftSyntax prebuild in Swift release CI
1 parent 6bd180d commit f0e1470

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,14 @@ jobs:
9696
node-version: '20'
9797
- name: Install TypeScript
9898
run: npm install
99-
- uses: swiftwasm/setup-swift-syntax-prebuilts@v1
100-
id: swiftsyntax-prebuilts
101-
with:
102-
swift-syntax-version: ${{ matrix.entry.swift-syntax-version }}
10399
- name: Validate BridgeJS TypeScript declarations
104100
run: npm run check:bridgejs-dts
105101
- name: Run BridgeJS tests
106-
run: swift test ${{ steps.swiftsyntax-prebuilts.outputs.swift-flags }} --package-path ./Plugins/BridgeJS
102+
# NOTE: This job runs in the swift Docker image, whose compiler tag is
103+
# swift-6.3.2-RELEASE. No matching release asset is currently published
104+
# for the setup action, so using it falls back to a local SwiftSyntax
105+
# prebuild and makes the job slower than building normally.
106+
run: swift test --disable-experimental-prebuilts --package-path ./Plugins/BridgeJS
107107
env:
108108
BRIDGEJS_OVERRIDE_SWIFT_SYNTAX_VERSION: ${{ matrix.entry.swift-syntax-version }}
109109

0 commit comments

Comments
 (0)