Skip to content

Audit

Audit #307

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-22.04
steps:
- name: Checkout repository
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- name: Cache Rust & Cargo
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.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@991b1ec8149510c906067891b783cb60d886ae26 # v2.13.3
with:
tool: just@1
- name: Install cargo-deny
uses: taiki-e/install-action@991b1ec8149510c906067891b783cb60d886ae26 # v2.13.3
with:
tool: [email protected]
- name: Audit
run: just ci-audit