From 0cbb253aed50c499690aea61f4cb14b09c8bd030 Mon Sep 17 00:00:00 2001 From: Ralph Giles Date: Thu, 11 Apr 2024 10:55:05 -0700 Subject: [PATCH] github actions: Report failure on warnings Make it more clear in the status check if there are audit warnings, which includes yanked and unmaintained crates. Also check the test client. --- .github/workflows/audit.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index adc1d1b..6a39727 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -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