mirror of
https://github.com/orhun/systeroid
synced 2024-10-04 14:39:06 +00:00
chore(ci): run cargo-deny to check licenses and sources
This commit is contained in:
parent
97f810c106
commit
919e399cdf
|
@ -12,3 +12,4 @@
|
|||
Dockerfile
|
||||
LICENSE*
|
||||
rustfmt.toml
|
||||
deny.toml
|
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
@ -159,6 +159,11 @@ jobs:
|
|||
command: clippy
|
||||
args: -- -D warnings
|
||||
|
||||
- name: Run cargo-deny
|
||||
uses: EmbarkStudios/cargo-deny-action@v1
|
||||
with:
|
||||
command: check licenses sources
|
||||
|
||||
audit:
|
||||
name: Audit
|
||||
runs-on: ubuntu-latest
|
||||
|
|
17
deny.toml
Normal file
17
deny.toml
Normal file
|
@ -0,0 +1,17 @@
|
|||
[licenses]
|
||||
default = "deny"
|
||||
unlicensed = "deny"
|
||||
copyleft = "deny"
|
||||
confidence-threshold = 0.8
|
||||
allow = [
|
||||
"MIT",
|
||||
"Apache-2.0",
|
||||
"BSL-1.0",
|
||||
"MPL-2.0",
|
||||
"ISC"
|
||||
]
|
||||
|
||||
[sources]
|
||||
unknown-registry = "deny"
|
||||
unknown-git = "warn"
|
||||
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
|
Loading…
Reference in a new issue