From 388dc05c896e8a9e4c9dc7c8da54aa7701d9391d Mon Sep 17 00:00:00 2001 From: Pratik Bhadane Date: Thu, 2 Apr 2026 17:11:48 +0530 Subject: [PATCH] ci: remove cargo-audit step from CI workflows - Eliminated the cargo-audit job from the CI configuration to streamline the workflow, as caching for the RustSec advisory database is no longer included. --- .github/workflows/ci-rust.yml | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/.github/workflows/ci-rust.yml b/.github/workflows/ci-rust.yml index b909591..a38d7d7 100644 --- a/.github/workflows/ci-rust.yml +++ b/.github/workflows/ci-rust.yml @@ -17,25 +17,6 @@ jobs: - uses: actions/checkout@v6 - uses: EmbarkStudios/cargo-deny-action@v2 - # ------------------------------------------------------------------------- - # cargo-audit — caches the RustSec advisory database (~400 MB git clone) - # so subsequent runs skip the initial fetch entirely (~3 min → ~15s) - # ------------------------------------------------------------------------- - cargo-audit: - name: cargo audit - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v6 - - name: Cache RustSec advisory database - uses: actions/cache@v4 - with: - path: ~/.cargo/advisory-db - key: rustsec-advisory-db-${{ hashFiles('Cargo.lock') }} - restore-keys: rustsec-advisory-db- - - uses: rustsec/audit-check@v2 - with: - token: ${{ github.token }} - # ------------------------------------------------------------------------- # pip-audit + uv.lock freshness check (lightweight, no Rust needed) # -------------------------------------------------------------------------