Skip to content

Security Audit

Security Audit #7

Workflow file for this run

# =============================================================================
# Security — Weekly cargo audit and cargo deny checks
# =============================================================================
name: Security Audit
on:
schedule:
# Every Monday at 08:00 UTC
- cron: "0 8 * * 1"
# Also allow manual trigger
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
permissions:
issues: write
jobs:
audit:
name: Cargo Audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Install cargo-audit
uses: taiki-e/install-action@v2
with:
tool: cargo-audit
- name: Run cargo audit
run: cargo audit
deny:
name: Cargo Deny
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Install cargo-deny
uses: taiki-e/install-action@v2
with:
tool: cargo-deny
- name: Run cargo deny
run: cargo deny check