mirror of
https://github.com/italicsjenga/ash-molten.git
synced 2024-12-23 21:31:30 +11:00
Add cargo-deny GitHub action (#11)
* Add cargo-deny GitHub action * Remove Travis rule from mergify
This commit is contained in:
parent
acc39d8a70
commit
5b3e7f415b
6
.github/workflows/ci.yaml
vendored
6
.github/workflows/ci.yaml
vendored
|
@ -27,6 +27,12 @@ jobs:
|
||||||
command: clippy
|
command: clippy
|
||||||
args: --all-features -- -D warnings
|
args: --all-features -- -D warnings
|
||||||
|
|
||||||
|
cargo-deny:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- uses: EmbarkStudios/cargo-deny-action@v0
|
||||||
|
|
||||||
test:
|
test:
|
||||||
name: Test
|
name: Test
|
||||||
runs-on: macOS-latest
|
runs-on: macOS-latest
|
||||||
|
|
|
@ -5,7 +5,6 @@ pull_request_rules:
|
||||||
- "#review-requested=0"
|
- "#review-requested=0"
|
||||||
- "#changes-requested-reviews-by=0"
|
- "#changes-requested-reviews-by=0"
|
||||||
- "#commented-reviews-by=0"
|
- "#commented-reviews-by=0"
|
||||||
- status-success=Travis CI - Pull Request
|
|
||||||
- base=master
|
- base=master
|
||||||
- label!=work-in-progress
|
- label!=work-in-progress
|
||||||
actions:
|
actions:
|
||||||
|
|
17
deny.toml
Normal file
17
deny.toml
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
[bans]
|
||||||
|
multiple-versions = "deny"
|
||||||
|
deny = []
|
||||||
|
skip = []
|
||||||
|
|
||||||
|
[licenses]
|
||||||
|
unlicensed = "deny"
|
||||||
|
# We want really high confidence when inferring licenses from text
|
||||||
|
confidence-threshold = 0.92
|
||||||
|
allow = [
|
||||||
|
"Apache-2.0",
|
||||||
|
"BSD-2-Clause",
|
||||||
|
"BSD-3-Clause",
|
||||||
|
"ISC",
|
||||||
|
"MIT",
|
||||||
|
"MPL-2.0",
|
||||||
|
]
|
Loading…
Reference in a new issue