Skip to content
This repository has been archived by the owner on Sep 21, 2024. It is now read-only.

Commit

Permalink
chore(workflow): Do not use cargo binstall
Browse files Browse the repository at this point in the history
  • Loading branch information
cdata committed Oct 31, 2022
1 parent 6b3c337 commit f02d1c9
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/run_test_suite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,12 @@ jobs:
working-directory: ./rust
run: cargo test
shell: bash
- uses: taiki-e/install-action@v1
with:
tool: cargo-binstall
- name: 'Install Rust/WASM test dependencies'
run: |
rustup target install wasm32-unknown-unknown
cargo binstall --no-confirm toml-cli
cargo install toml-cli
WASM_BINDGEN_VERSION=`toml get ./Cargo.lock . | jq '.package | map(select(.name == "wasm-bindgen"))[0].version' | xargs echo`
cargo binstall --no-confirm wasm-bindgen-cli --version "$WASM_BINDGEN_VERSION"
cargo install wasm-bindgen-cli --vers "$WASM_BINDGEN_VERSION"
shell: bash
# See: https://github.com/SeleniumHQ/selenium/blob/5d108f9a679634af0bbc387e7e3811bc1565912b/.github/actions/setup-chrome/action.yml
- name: 'Setup Chrome and chromedriver'
Expand Down

0 comments on commit f02d1c9

Please sign in to comment.