ci: use cargo-deny
Copied from https://github.com/ostreedev/ostree-rs-ext/pull/291 Part of unifying our CI.
This commit is contained in:
parent
891c7dffa7
commit
9f8d026f82
|
|
@ -66,3 +66,11 @@ jobs:
|
||||||
run: cargo fmt -p ostree -- --check -l
|
run: cargo fmt -p ostree -- --check -l
|
||||||
- name: cargo clippy (warnings)
|
- name: cargo clippy (warnings)
|
||||||
run: cargo clippy -p ostree --features=${{ env['CARGO_PROJECT_FEATURES'] }} -- -D warnings
|
run: cargo clippy -p ostree --features=${{ env['CARGO_PROJECT_FEATURES'] }} -- -D warnings
|
||||||
|
cargo-deny:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: EmbarkStudios/cargo-deny-action@v1
|
||||||
|
with:
|
||||||
|
log-level: warn
|
||||||
|
command: check bans sources licenses
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue