Skip to content

Commit

Permalink
Add auditing to CI based on cargo-deny
Browse files Browse the repository at this point in the history
  • Loading branch information
djc committed Mar 12, 2020
1 parent 31eef29 commit 399faf5
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,9 @@ jobs:
with:
name: code-coverage-report
path: cobertura.xml

audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: EmbarkStudios/cargo-deny-action@v0
10 changes: 10 additions & 0 deletions deny.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[licenses]
allow-osi-fsf-free = "either"
copyleft = "warn"
exceptions = [{ allow = ["ISC", "MIT", "OpenSSL"], name = "ring" }]
private = { ignore = true }

[[licenses.clarify]]
name = "ring"
expression = "ISC AND MIT AND OpenSSL"
license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }]
1 change: 1 addition & 0 deletions interop/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ version = "0.1.0"
authors = ["Benjamin Saunders <[email protected]>", "Jean-Christophe BEGUE <[email protected]>"]
edition = "2018"
default-run = "main"
publish = false

[dependencies]
anyhow = "1.0.22"
Expand Down

0 comments on commit 399faf5

Please sign in to comment.