Skip to content

Commit

Permalink
Migrate from cargo audit to cargo deny
Browse files Browse the repository at this point in the history
  • Loading branch information
Nemo157 committed May 11, 2022
1 parent 63ea354 commit cf23c9b
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 21 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/audit.yml

This file was deleted.

30 changes: 30 additions & 0 deletions .github/workflows/deny.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: deny

env:
RUST_BACKTRACE: 1

jobs:
cargo-deny-advisories:
name: cargo deny advisories
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v2
- uses: EmbarkStudios/cargo-deny-action@v1
with:
command: check advisories

cargo-deny-licenses:
name: cargo deny bans licenses sources
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: EmbarkStudios/cargo-deny-action@v1
with:
command: check bans licenses sources

on:
push:
branches: [staging, trying]
pull_request:
branches: [prīmum]
2 changes: 1 addition & 1 deletion bors.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ status = [
"cargo hack check --all-targets --feature-powerset",
"cargo fmt --check",
"cargo clippy",
# "cargo audit",
"cargo deny bans licenses sources",
"cargo doc --cfg docsrs",
]
delete_merged_branches = true

0 comments on commit cf23c9b

Please sign in to comment.