From 23cef4a82dc16cec6928228762b08c24c1155274 Mon Sep 17 00:00:00 2001 From: Sebastian <19Sebastian95@gmx.de> Date: Mon, 15 May 2023 19:46:41 +0200 Subject: [PATCH] GH-41: Add cargo audit --- .github/workflows/pr.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 195c5ae..782dd97 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -30,6 +30,18 @@ jobs: # with: # working-directory: src-tauri # args: --tests + audit: + runs-on: ubuntu-latest + steps: + - name: install audit + working-directory: src-tauri + run: cargo install --force cargo-audit + - name: lockfile + working-directory: src-tauri + run: cargo generate-lockfile + - name: audit + working-directory: src-tauri + run: cargo audit clippy: runs-on: ubuntu-latest