Skip to content

chore: release v0.20.0 #446

chore: release v0.20.0

chore: release v0.20.0 #446

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@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
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@43aecc8d72668fbcfe75c31400bc4f890f1c5853 # v2.83.2
with:
tool: cargo-audit
- run: cargo audit
deny:
name: cargo deny
runs-on: ubuntu-latest
permissions:
contents: read # read repo
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- uses: EmbarkStudios/cargo-deny-action@bb137d7af7e4fb67e5f82a49c4fce4fad40782fe # v2.0.20