Skip to content

Commit

Permalink
github actions: Report failure on warnings
Browse files Browse the repository at this point in the history
Make it more clear in the status check if there are audit warnings,
which includes yanked and unmaintained crates.

Also check the test client.
  • Loading branch information
rillian authored and DJAndries committed Apr 11, 2024
1 parent 9bee9cc commit 0cbb253
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,9 @@ jobs:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Cargo audit
run: cargo audit
- name: Audit server
run: cargo audit --deny warnings

- name: Audit test client
run: cargo audit --deny warnings
working-directory: misc/test-client

0 comments on commit 0cbb253

Please sign in to comment.