Skip to content

Audit

Audit #870

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@ab5e6d0c87105b4c9c2047343972218f562e4319 # v4.0.1
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