From 6da6f03ac63e48fd247acf43997ca0df2b6823f9 Mon Sep 17 00:00:00 2001 From: Ivan Gabriele Date: Sat, 8 Jun 2024 18:35:35 +0200 Subject: [PATCH] ci(github): add Cargo Audit job in Analysis workflow --- .github/workflows/analysis.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index 591cab65..23c12afa 100644 --- a/.github/workflows/analysis.yml +++ b/.github/workflows/analysis.yml @@ -44,3 +44,17 @@ jobs: uses: github/codeql-action/analyze@v3 with: category: '/language:${{matrix.language}}' + + cargo_audit: + name: Cargo Audit + runs-on: 'ubuntu-latest' + container: + image: ivangabriele/tauri:debian-bullseye-18 + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Install cargo-audit + run: cargo install cargo-audit + - name: Run + run: cargo audit + working-directory: ./src-tauri