Skip to content

Commit

Permalink
Add audit job in CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
djc committed Sep 29, 2023
1 parent 176d5ac commit b88c07e
Show file tree
Hide file tree
Showing 2 changed files with 16 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 @@ -53,3 +53,9 @@ jobs:
- uses: Swatinem/rust-cache@v2
- run: cargo fmt --all -- --check
- run: cargo clippy --all-targets -- -D warnings

Audit:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: EmbarkStudios/cargo-deny-action@v1
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 }]

0 comments on commit b88c07e

Please sign in to comment.