2024-02-29 16:44:17 +00:00
|
|
|
# This runs `cargo deny check` on all dependencies (only if Cargo deps changed)
|
|
|
|
|
|
|
|
name: Deny
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
paths:
|
|
|
|
- '**/Cargo.toml'
|
|
|
|
- '**/Cargo.lock'
|
2024-08-09 19:44:53 +00:00
|
|
|
workflow_dispatch:
|
2024-02-29 16:44:17 +00:00
|
|
|
|
|
|
|
env:
|
|
|
|
CARGO_TERM_COLOR: always
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
audit:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Cache
|
2024-06-13 15:37:26 +00:00
|
|
|
uses: actions/cache@v4
|
2024-02-29 16:44:17 +00:00
|
|
|
with:
|
|
|
|
path: |
|
|
|
|
~/.cargo
|
|
|
|
target
|
|
|
|
key: deny
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
with:
|
|
|
|
submodules: recursive
|
|
|
|
- name: Install dependencies
|
|
|
|
run: cargo install cargo-deny --locked
|
|
|
|
- name: Deny
|
|
|
|
run: cargo deny check
|