Skip to content

cargo-audit

cargo-audit #625

Workflow file for this run

name: cargo-audit
on:
merge_group:
pull_request:
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'
- '.github/workflows/cargo-audit.yml'
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
build:
name: Run `cargo-audit`
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Install cargo audit
shell: bash
run: |
cargo install cargo-audit --locked
- name: Run `cargo-audit`
uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}