mirror of
https://github.com/ratatui/ratatui.git
synced 2025-09-27 13:01:13 +00:00
chore(ci): integrate cargo-deny for linting dependencies (#221)
This commit is contained in:
parent
e724bec987
commit
d711f2aef3
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -74,6 +74,8 @@ jobs:
|
||||
commits: "HEAD"
|
||||
- name: "Check typos"
|
||||
uses: crate-ci/typos@master
|
||||
- name: "Lint dependencies"
|
||||
uses: EmbarkStudios/cargo-deny-action@v1
|
||||
|
||||
coverage:
|
||||
runs-on: ubuntu-latest
|
||||
|
20
deny.toml
Normal file
20
deny.toml
Normal file
@ -0,0 +1,20 @@
|
||||
# configuration for https://github.com/EmbarkStudios/cargo-deny
|
||||
|
||||
[licenses]
|
||||
default = "deny"
|
||||
unlicensed = "deny"
|
||||
copyleft = "deny"
|
||||
confidence-threshold = 0.8
|
||||
allow = ["Apache-2.0", "BSD-3-Clause", "MIT", "Unicode-DFS-2016", "WTFPL"]
|
||||
|
||||
[advisories]
|
||||
unmaintained = "deny"
|
||||
yanked = "deny"
|
||||
|
||||
[bans]
|
||||
multiple-versions = "allow"
|
||||
|
||||
[sources]
|
||||
unknown-registry = "deny"
|
||||
unknown-git = "warn"
|
||||
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
|
Loading…
x
Reference in New Issue
Block a user