Skip to content

fix(release): harden publish workflow #107

fix(release): harden publish workflow

fix(release): harden publish workflow #107

Workflow file for this run

name: Security
on:
push:
branches:
- "**"
pull_request:
schedule:
- cron: "0 6 * * 1"
permissions:
contents: read
security-events: write
jobs:
cargo-audit:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6.0.2
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Cache cargo artifacts
uses: Swatinem/rust-cache@v2
- name: Install cargo-audit
run: cargo install cargo-audit --locked
- name: Audit dependencies
run: cargo audit