Skip to content

chore(deps): bump the actions-updates group across 1 directory with 7 updates #517

chore(deps): bump the actions-updates group across 1 directory with 7 updates

chore(deps): bump the actions-updates group across 1 directory with 7 updates #517

Workflow file for this run

name: Security Audit
on:
push:
branches: [main]
paths:
- "**/Cargo.toml"
- "**/Cargo.lock"
- "deny.toml"
- ".github/workflows/audit.yml"
pull_request:
branches: [main]
paths:
- "**/Cargo.toml"
- "**/Cargo.lock"
- "deny.toml"
- ".github/workflows/audit.yml"
permissions: {}
concurrency:
group: audit-${{ github.ref }}
cancel-in-progress: true
jobs:
audit:
name: cargo audit
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
# GitHub-hosted runners ship with `rustup`; install + override
# the workspace's `rust-toolchain.toml` pin (MSRV) with stable
# for this job inline rather than via a third-party action.
- name: Install Rust stable
run: |
rustup toolchain install stable --profile minimal --no-self-update
rustup override set stable
# Pull `cargo-audit` from prebuilt artifacts rather than building
# it from source every run; saves ~30s per audit invocation.
- uses: taiki-e/install-action@91ddec75689c4c78665b598d188dc821c5a43e5c # v2.85.9
with:
tool: cargo-audit
- run: cargo audit
deny:
name: cargo deny
runs-on: ubuntu-latest
permissions:
contents: read # read repo
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: EmbarkStudios/cargo-deny-action@3c6349835b2b7b196a839186cb8b78e02f7b5f25 # v2.1.1