From f5e439d3bc9ae3c896884b697ea5b4a057ff8b9e Mon Sep 17 00:00:00 2001 From: Pierre-Louis Date: Mon, 15 Jan 2024 22:07:08 +0100 Subject: [PATCH] ci: add audit in CI --- .github/workflows/build-project.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build-project.yaml b/.github/workflows/build-project.yaml index 1a46fd3..85a3b6b 100644 --- a/.github/workflows/build-project.yaml +++ b/.github/workflows/build-project.yaml @@ -19,6 +19,10 @@ jobs: run: cargo fmt - name: Run linter run: cargo clippy -- --deny warnings + - name: Audit + run: | + cargo install cargo-audit + cargo audit --deny warnings - name: Run tests run: cargo test - name: Build the project