diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2c067e6..75eb60f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,7 +17,6 @@ jobs: if: ${{ runner.os == 'Linux' }} - run: | rustup toolchain install stable - cargo check --all-features --examples cargo fmt --all --check cargo clippy --all-features @@ -28,7 +27,7 @@ jobs: - uses: actions/checkout@v3 - run: | rustup toolchain install stable - cargo check --all-features --examples --target wasm32-unknown-unknown + rustup target add wasm32-unknown-unknown cargo fmt --all --check cargo clippy --all-features --target wasm32-unknown-unknown @@ -50,5 +49,6 @@ jobs: - uses: actions/checkout@v3 - run: | rustup toolchain install stable + rustup target add wasm32-unknown-unknown cargo install cargo-make cargo make build-web-example