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.
This commit is contained in:
Pratik Bhadane
2026-04-02 17:11:48 +05:30
parent 0ee5f246ed
commit 388dc05c89
-19
View File
@@ -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)
# -------------------------------------------------------------------------