From 3c9a78a953b083bfaedfa39888c5e3aef31a992f Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Tue, 22 Nov 2022 12:44:43 -0600 Subject: [PATCH] Install necessary targets and simplify further. --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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