cuprate/.github/workflows/deny.yml
hinto-janai 25b5b63349
Some checks are pending
CI / fmt (push) Waiting to run
CI / typo (push) Waiting to run
CI / ci (macos-latest, stable, bash) (push) Waiting to run
CI / ci (ubuntu-latest, stable, bash) (push) Waiting to run
CI / ci (windows-latest, stable-x86_64-pc-windows-gnu, msys2 {0}) (push) Waiting to run
ci: update actions/cache -> v4 (#158)
2024-06-13 16:37:26 +01:00

33 lines
579 B
YAML

# This runs `cargo deny check` on all dependencies (only if Cargo deps changed)
name: Deny
on:
push:
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'
env:
CARGO_TERM_COLOR: always
jobs:
audit:
runs-on: ubuntu-latest
steps:
- name: Cache
uses: actions/cache@v4
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