Skip to content

Commit

Permalink
Fix tests depending on wasm-bindgen 0.2.83
Browse files Browse the repository at this point in the history
  • Loading branch information
workingjubilee committed Aug 24, 2024
1 parent 6aa2826 commit 3f9ff02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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

0 comments on commit 3f9ff02

Please sign in to comment.