Skip to content

Security Audit

Security Audit #2179

Workflow file for this run

name: Security Audit
on:
push:
branches: [main]
paths:
- "**/Cargo.toml"
- "**/Cargo.lock"
pull_request:
branches: [main]
paths:
- "**/Cargo.toml"
- "**/Cargo.lock"
schedule:
- cron: "32 10 * * *"
jobs:
audit:
name: Audit Rust Dependencies
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache ~/.cargo
uses: actions/cache@v4
with:
# we specifically want ~/.cargo/bin/cargo-audit
# and ~/.cargo/.crates.toml and .crates2.json
# which cargo-install uses to remember that it's
# already installed
path: ~/.cargo
key: ${{ runner.os }}-audit-dotcargo
- uses: actions-rust-lang/audit@v1
name: Audit Rust Dependencies