mirror of https://github.com/smol-rs/fastrand
Use install-action to install wasm-pack
This commit is contained in:
parent
20bfa8ddd1
commit
b8874eb81a
|
@ -25,8 +25,8 @@ jobs:
|
|||
- name: Install Rust
|
||||
# --no-self-update is necessary because the windows environment cannot self-update rustup.exe.
|
||||
run: rustup update ${{ matrix.rust }} --no-self-update && rustup default ${{ matrix.rust }}
|
||||
- name: Install wasm test tools
|
||||
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
|
||||
- name: Install wasm-pack
|
||||
uses: taiki-e/install-action@wasm-pack
|
||||
if: startsWith(matrix.os, 'ubuntu')
|
||||
- name: Run cargo check
|
||||
run: cargo check --all --all-features --all-targets
|
||||
|
|
Loading…
Reference in New Issue