Skip to content

Commit 5ede785

Browse files
Use swiftwasm/setup-swiftwasm instead of swiftwasm/swiftwasm-action (#78)
`swiftwasm/swiftwasm-action` is now deprecated and replaced by `swiftwasm/setup-swiftwasm`. This change updates the CI workflow to use the new action.
1 parent 32f6057 commit 5ede785

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,14 @@ jobs:
3434
runs-on: ubuntu-latest
3535
steps:
3636
- uses: actions/checkout@v4
37-
- uses: swiftwasm/[email protected]
37+
- uses: bytecodealliance/actions/wasmtime/setup@v1
38+
- uses: swiftwasm/setup-swiftwasm@v1
3839
with:
39-
shell-action: carton test
40+
swift-version: "wasm-5.9.2-RELEASE"
41+
- name: Build tests
42+
run: swift build --triple wasm32-unknown-wasi --build-tests
43+
- name: Run tests
44+
run: wasmtime --dir . .build/debug/xctest-dynamic-overlayPackageTests.wasm
4045

4146
windows:
4247
name: Windows

0 commit comments

Comments
 (0)