From 3f9ff027bdbfdeb70712b168c93039f27f4c56e2 Mon Sep 17 00:00:00 2001 From: Jubilee Young Date: Sat, 24 Aug 2024 11:10:58 -0700 Subject: [PATCH] Fix tests depending on wasm-bindgen 0.2.83 --- .github/workflows/rust.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 7132a28..abe76d4 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -81,10 +81,10 @@ jobs: - name: Install wasm-bindgen run: > curl -L "$WASMBINDGEN_UPSTREAM" - | tar xzf - --strip-components=1 wasm-bindgen-0.2.83-x86_64-unknown-linux-musl/wasm-bindgen-test-runner + | tar xzf - --strip-components=1 wasm-bindgen-0.2.89-x86_64-unknown-linux-musl/wasm-bindgen-test-runner && sudo mv wasm-bindgen-test-runner /usr/bin/wasm-bindgen-test-runner env: - WASMBINDGEN_UPSTREAM: https://github.com/rustwasm/wasm-bindgen/releases/download/0.2.83/wasm-bindgen-0.2.83-x86_64-unknown-linux-musl.tar.gz + WASMBINDGEN_UPSTREAM: https://github.com/rustwasm/wasm-bindgen/releases/download/0.2.89/wasm-bindgen-0.2.89-x86_64-unknown-linux-musl.tar.gz - name: Installing Rust toolchain uses: actions-rs/toolchain@v1 with: @@ -95,7 +95,7 @@ jobs: - name: Test run: | cargo update - cargo update -p wasm-bindgen --precise 0.2.83 + cargo update -p wasm-bindgen --precise 0.2.89 cargo test -vv --target wasm32-unknown-unknown env: CARGO_TARGET_WASM32_UNKNOWN_UNKNOWN_RUNNER: wasm-bindgen-test-runner