mirror of
https://github.com/google/gn-language-server.git
synced 2025-08-04 15:28:16 +00:00
Check licenses with cargo-deny
This commit is contained in:
parent
5715dd3a81
commit
bba3a31b3c
2 changed files with 8 additions and 0 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -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
6
deny.toml
Normal file
|
@ -0,0 +1,6 @@
|
|||
[licenses]
|
||||
allow = [
|
||||
"Apache-2.0",
|
||||
"MIT",
|
||||
"Unicode-3.0",
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue