Skip to content

Commit

Permalink
chore(ci): add cargo deny check to CI
Browse files Browse the repository at this point in the history
This fetches a shared deny.toml from the QA repo before running the cargo deny GH Action.
  • Loading branch information
S-Coyle committed Jan 18, 2021
1 parent 6b0c94c commit 8799c62
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,17 @@ jobs:
cargo install cargo-udeps --locked
cargo +nightly udeps --all-targets
cargo-deny:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

# wget the shared deny.toml file from the QA repo
- shell: bash
run: wget https://raw.githubusercontent.com/maidsafe/QA/master/misc-scripts/deny.toml

- uses: EmbarkStudios/cargo-deny-action@v1

tests:
name: Test
runs-on: ubuntu-latest
Expand Down

0 comments on commit 8799c62

Please sign in to comment.