From 13b4da49230676fa2bfc57865b56d14b4af62a26 Mon Sep 17 00:00:00 2001 From: OpenClaw Bot Date: Thu, 14 May 2026 17:57:01 +0000 Subject: [PATCH] ci: run rust checks in main test workflow --- .github/workflows/tests.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e2b3817..a0d9097 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -35,10 +35,19 @@ jobs: with: python-version: '3.11' enable-cache: true + - uses: dtolnay/rust-toolchain@stable + - uses: Swatinem/rust-cache@v2 + with: + workspaces: | + . -> target - name: Sync package + test deps run: uv sync --locked --extra dev - name: Run unit tests run: uv run pytest + - name: Check Rust formatting + run: cargo fmt --check + - name: Build Rust enrichment package + run: cargo build --locked -p scan-enrichment e2e: needs: unit