Skip to content

Commit

Permalink
build(ci): separate cargo deny's advisories checks from others
Browse files Browse the repository at this point in the history
  • Loading branch information
ErichDonGubler committed Nov 14, 2022
1 parent 625819d commit 4f24046
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,8 @@ jobs:
run: |
cargo clippy --manifest-path cts_runner/Cargo.toml
cargo-deny:
name: "Run `cargo deny check`"
cargo-deny-check-advisories:
name: "Run `cargo deny check advisories`"
runs-on: ubuntu-latest
steps:
- name: checkout repo
Expand All @@ -363,5 +363,20 @@ jobs:
- name: Run `cargo deny check`
uses: EmbarkStudios/cargo-deny-action@update-deny
with:
command: check advisories
arguments: --all-features --workspace
rust-version: ${{ env.RUST_VERSION }}

cargo-deny-check-rest:
name: "Run `cargo deny check`"
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v3

- name: Run `cargo deny check`
uses: ErichDonGubler/cargo-deny-action@update-deny
with:
command: check bans licenses sources
arguments: --all-features --workspace
rust-version: ${{ env.RUST_VERSION }}

0 comments on commit 4f24046

Please sign in to comment.