Skip to content

Commit 3e905e7

Browse files
Use swiftwasm/setup-swiftwasm instead of swiftwasm/swiftwasm-action (#113)
* Use `swiftwasm/setup-swiftwasm` instead of `swiftwasm/swiftwasm-action` `swiftwasm/swiftwasm-action` is now deprecated and replaced by `swiftwasm/setup-swiftwasm`. This change updates the CI workflow to use the new action. * Update .github/workflows/ci.yml --------- Co-authored-by: Stephen Celis <[email protected]>
1 parent 464802c commit 3e905e7

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/ci.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,14 @@ jobs:
7373
runs-on: ubuntu-latest
7474
steps:
7575
- uses: actions/checkout@v3
76-
- uses: swiftwasm/[email protected]
76+
- uses: bytecodealliance/actions/wasmtime/setup@v1
77+
- uses: swiftwasm/setup-swiftwasm@v1
7778
with:
78-
shell-action: carton test --environment node
79+
swift-version: "wasm-5.9.2-RELEASE"
80+
- name: Build tests
81+
run: swift build --triple wasm32-unknown-wasi --build-tests
82+
- name: Run tests
83+
run: wasmtime .build/debug/swift-custom-dumpPackageTests.wasm
7984

8085
windows:
8186
name: Windows

0 commit comments

Comments
 (0)