Skip to content

Audit

Audit #916

Workflow file for this run

name: Audit
on:
pull_request:
paths:
- .github/workflows/audit.yml
- Cargo.lock
- Cargo.toml
- deny.toml
- Justfile
push:
branches:
- main
schedule:
- cron: 0 2 * * *
workflow_dispatch: ~
permissions: read-all
env:
RUST_BACKTRACE: 1
jobs:
cargo:
name: Cargo
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Cache Rust & Cargo
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install Rust toolchain
run: rustup show
- name: Install Just
uses: taiki-e/install-action@3e71e7135de310b70bc22dccb4d275acde8e055a # v2.42.0
with:
tool: just@1
- name: Install cargo-deny
uses: taiki-e/install-action@3e71e7135de310b70bc22dccb4d275acde8e055a # v2.42.0
with:
tool: [email protected]
- name: Audit
run: just ci-audit