Skip to content

Commit cf23c9b

Browse files
committed
Migrate from cargo audit to cargo deny
1 parent 63ea354 commit cf23c9b

File tree

3 files changed

+31
-21
lines changed

3 files changed

+31
-21
lines changed

.github/workflows/audit.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/workflows/deny.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: deny
2+
3+
env:
4+
RUST_BACKTRACE: 1
5+
6+
jobs:
7+
cargo-deny-advisories:
8+
name: cargo deny advisories
9+
runs-on: ubuntu-latest
10+
continue-on-error: true
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: EmbarkStudios/cargo-deny-action@v1
14+
with:
15+
command: check advisories
16+
17+
cargo-deny-licenses:
18+
name: cargo deny bans licenses sources
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/checkout@v2
22+
- uses: EmbarkStudios/cargo-deny-action@v1
23+
with:
24+
command: check bans licenses sources
25+
26+
on:
27+
push:
28+
branches: [staging, trying]
29+
pull_request:
30+
branches: [prīmum]

bors.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ status = [
1010
"cargo hack check --all-targets --feature-powerset",
1111
"cargo fmt --check",
1212
"cargo clippy",
13-
# "cargo audit",
13+
"cargo deny bans licenses sources",
1414
"cargo doc --cfg docsrs",
1515
]
1616
delete_merged_branches = true

0 commit comments

Comments
 (0)