diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c233a09..da90d70 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,11 +13,11 @@ jobs: - name: Install Rust run: rustup update ${{ matrix.rust }} && rustup default ${{ matrix.rust }} && rustup component add rustfmt - run: rustup target add wasm32-wasi wasm32-unknown-unknown - - run: cargo build - - run: cargo build --no-default-features - - run: cargo build --target wasm32-wasi - - run: cargo build --target wasm32-wasi --no-default-features - - run: cargo test --doc + - run: cargo build --workspace + - run: cargo build --workspace --no-default-features + - run: cargo build --workspace --target wasm32-wasi + - run: cargo build --workspace --target wasm32-wasi --no-default-features + - run: cargo test --workspace --doc - name: Install Wasmtime uses: bytecodealliance/actions/wasmtime/setup@v1 with: