mirror of
https://github.com/askama-rs/askama.git
synced 2025-10-02 07:20:55 +00:00
Add audit job in CI workflow
This commit is contained in:
parent
dcece252a2
commit
e527f5f065
6
.github/workflows/rust.yml
vendored
6
.github/workflows/rust.yml
vendored
@ -53,3 +53,9 @@ jobs:
|
|||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
- run: cargo fmt --all -- --check
|
- run: cargo fmt --all -- --check
|
||||||
- run: cargo clippy --all-targets -- -D warnings
|
- 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
10
deny.toml
Normal 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 }]
|
Loading…
x
Reference in New Issue
Block a user