mirror of
https://github.com/Cuprate/cuprate.git
synced 2024-11-17 00:07:55 +00:00
9a8e306fd5
* add `deny.toml` * deny Copyleft licenses * deny yanked crate usage * add common targets * allow common licenses * allow AGPL-3.0 for Cuprate crates * misc fixes
33 lines
583 B
YAML
33 lines
583 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@v3.2.3
|
|
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
|