From bb3002adea33c301a89c0b13fd876cd5c6c8bd24 Mon Sep 17 00:00:00 2001 From: Yuta Saito Date: Sun, 10 Mar 2024 10:00:48 +0000 Subject: [PATCH 1/2] 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. --- .github/workflows/ci.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b478b57..c25c5e6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -73,9 +73,14 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: swiftwasm/swiftwasm-action@v5.8 + - uses: bytecodealliance/actions/wasmtime/setup@v1 + - uses: swiftwasm/setup-swiftwasm@v1 with: - shell-action: carton test --environment node + swift-version: "wasm-5.8.0-RELEASE" + - name: Build tests + run: swift build --triple wasm32-unknown-wasi --build-tests + - name: Run tests + run: wasmtime .build/debug/swift-custom-dumpPackageTests.wasm windows: name: Windows From 53d9407c6d148d12ab150ea6c186acfc362955f4 Mon Sep 17 00:00:00 2001 From: Stephen Celis Date: Tue, 12 Mar 2024 12:53:01 -0700 Subject: [PATCH 2/2] Update .github/workflows/ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c25c5e6..6b34ee0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -76,7 +76,7 @@ jobs: - uses: bytecodealliance/actions/wasmtime/setup@v1 - uses: swiftwasm/setup-swiftwasm@v1 with: - swift-version: "wasm-5.8.0-RELEASE" + swift-version: "wasm-5.9.2-RELEASE" - name: Build tests run: swift build --triple wasm32-unknown-wasi --build-tests - name: Run tests