Check licenses with cargo-deny

This commit is contained in:
Shuhei Takahashi 2025-03-24 20:21:37 +09:00 committed by Shuhei Takahashi
parent 5715dd3a81
commit bba3a31b3c
2 changed files with 8 additions and 0 deletions

View file

@ -42,6 +42,8 @@ jobs:
- run: addlicense -check .
- run: cargo fmt --check
- run: cargo clippy
- run: cargo install --force --locked cargo-deny@0.18.2
- run: cargo deny check licenses
- run: npm ci
working-directory: vscode-gn
- run: npm run lint

6
deny.toml Normal file
View file

@ -0,0 +1,6 @@
[licenses]
allow = [
"Apache-2.0",
"MIT",
"Unicode-3.0",
]