Skip to content

Security Audit

Security Audit #6

Workflow file for this run

name: Security Audit
on:
schedule:
- cron: '0 0 * * 0' # Weekly on Sunday
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
audit:
name: Security Audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Install cargo-audit
run: cargo install cargo-audit
- name: Cache dependencies
uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Run audit
run: cargo audit