From 354fa3b8a63c66e9963bdd21c522ba827739b058 Mon Sep 17 00:00:00 2001 From: darcszn Date: Sun, 18 Oct 2026 17:16:59 +0100 Subject: [PATCH] ci: test entire cargo workspace Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/workflows/ci.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4be958f..3ac0776 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -77,10 +77,26 @@ jobs: - name: Gas / footprint report (vault-registry) run: cargo test --locked --package vault-registry gas -- --nocapture + test-workspace: + name: Test workspace + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v7 + + - name: Install Rust stable + uses: dtolnay/rust-toolchain@stable + with: + targets: wasm32v1-none + + - uses: Swatinem/rust-cache@v2 + + - name: Test workspace + run: cargo test --locked --workspace + build: name: Build WASM runs-on: ubuntu-latest - needs: [lint, test] + needs: [lint, test, test-workspace] steps: - uses: actions/checkout@v7