Skip to content

Commit

Permalink
Setup cargo-deny in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
djc committed Dec 15, 2022
1 parent 94587c5 commit b8febe6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,9 @@ jobs:
- run: cargo clippy --color=always -- -D warnings -A clippy::manual-non-exhaustive
env:
RUSTFLAGS: "-Dwarnings"

cargo-deny:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: EmbarkStudios/cargo-deny-action@v1
9 changes: 9 additions & 0 deletions deny.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[licenses]
allow-osi-fsf-free = "either"
copyleft = "deny"

[advisories]
ignore = ["RUSTSEC-2020-0071"]
unmaintained = "deny"
unsound = "deny"
yanked = "deny"

0 comments on commit b8febe6

Please sign in to comment.