Skip to content

chore(deps): bump the cargo-dependencies group across 1 directory with 4 updates #5

chore(deps): bump the cargo-dependencies group across 1 directory with 4 updates

chore(deps): bump the cargo-dependencies group across 1 directory with 4 updates #5

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: "30 2 * * 1"
jobs:
audit:
name: Cargo Security Audit
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Cache cargo registry
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ runner.os }}-cargo-audit-${{ hashFiles('**/Cargo.lock') }}
- name: Install cargo-audit
run: cargo install cargo-audit
- name: Run security audit
run: cargo audit
deny:
name: Cargo Deny
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Check licenses and bans
# Advisory DB check is handled by the separate cargo-audit job above.
# Restricting to licenses + bans avoids breakage when the advisory DB
# introduces new TOML features unsupported by this pinned cargo-deny
# version (e.g. RUSTSEC-2026-0076 parse error with cargo-deny 0.14.x).
uses: EmbarkStudios/cargo-deny-action@v1
with:
command: check licenses bans