Merge branch 'main' into poly_ring #28
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
name: Dependency security audit | |
on: | |
push: | |
paths: | |
- '**/Cargo.toml' | |
- '**/Cargo.lock' | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
security_audit: | |
timeout-minutes: 5 | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
checks: write | |
# issues: write | |
steps: | |
- name: Check out | |
uses: actions/checkout@v4 | |
- name: Cache audit-check build | |
id: cache-audit-check | |
uses: actions/cache@v4 | |
continue-on-error: false | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
target/ | |
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
restore-keys: ${{ runner.os }}-cargo- | |
- name: Run audit-check action | |
run: | | |
which cargo-deny || cargo install cargo-deny | |
cargo deny check |