update README #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This runs `cargo audit` on all dependencies (only if Cargo deps changed) | |
name: Audit | |
on: | |
push: | |
paths: | |
- '**/Cargo.toml' | |
- '**/Cargo.lock' | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
audit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cache | |
uses: actions/[email protected] | |
with: | |
path: | | |
~/.cargo | |
target | |
key: audit | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install dependencies | |
run: cargo install cargo-audit --locked | |
- name: Audit | |
run: cargo audit | |