Add audit job in CI workflow

This commit is contained in:
Dirkjan Ochtman 2023-09-29 14:00:42 +02:00
parent dcece252a2
commit e527f5f065
2 changed files with 16 additions and 0 deletions

View File

@ -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
deny.toml Normal file
View File

@ -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 }]