Use install-action to install wasm-pack

This commit is contained in:
Taiki Endo 2022-01-22 15:58:15 +09:00
parent 20bfa8ddd1
commit b8874eb81a
1 changed files with 2 additions and 2 deletions

View File

@ -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