From 1953e559c9e6337679a129910d5c025a46c5dc2d 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 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 195c5ae..32fb9e6 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -4,6 +4,7 @@ on: types: [opened, synchronize, reopened, closed] branches: - "master" + - "develop" env: app_name: Fancy Mumble @@ -30,6 +31,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