diff --git a/.github/workflows/DeployPages.yml b/.github/workflows/DeployPages.yml index a4b6b383..1fdfff82 100644 --- a/.github/workflows/DeployPages.yml +++ b/.github/workflows/DeployPages.yml @@ -36,7 +36,7 @@ jobs: - name: Install toolchain (minimal, stable, wasm32-unknown-unknown) uses: dtolnay/rust-toolchain@stable with: - targets: wasm32-unknown-unknown + targets: wasm32-unknown-unknown, wasm32-wasi - name: Install wasm-pack uses: jetli/wasm-pack-action@v0.4.0 - name: Make build script executable diff --git a/.github/workflows/RustCI.yml b/.github/workflows/RustCI.yml index ad504985..4f8f0640 100644 --- a/.github/workflows/RustCI.yml +++ b/.github/workflows/RustCI.yml @@ -18,6 +18,8 @@ jobs: uses: actions/checkout@v3 - name: Install toolchain (minimal, stable) uses: dtolnay/rust-toolchain@stable + with: + targets: wasm32-wasi - name: Run cargo check run: cargo check --verbose @@ -29,6 +31,8 @@ jobs: uses: actions/checkout@v3 - name: Install toolchain (minimal, stable) uses: dtolnay/rust-toolchain@stable + with: + targets: wasm32-wasi - name: Run cargo test run: cargo test --verbose --no-fail-fast @@ -42,6 +46,7 @@ jobs: uses: dtolnay/rust-toolchain@stable with: components: clippy + targets: wasm32-wasi - name: Run cargo clippy run: cargo clippy --verbose -- -D warnings @@ -55,5 +60,6 @@ jobs: uses: dtolnay/rust-toolchain@stable with: components: rustfmt + targets: wasm32-wasi - name: Run cargo fmt run: cargo fmt --verbose -- --check