From a6fdb1aeda35d2483b890366952cc10c34c370d0 Mon Sep 17 00:00:00 2001 From: simonsan <14062932+simonsan@users.noreply.github.com> Date: Thu, 3 Oct 2024 14:57:56 +0200 Subject: [PATCH] ci: generate lockfile in ci for rustsec/audit-check (#303) Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com> --- .github/workflows/audit.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index bfba2732..9d934b8a 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -35,8 +35,8 @@ jobs: toolchain: stable - uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2 - - name: Run cargo update for Cargo.lock - run: cargo update + - name: Generate lockfile (Cargo.lock) + run: cargo generate-lockfile - uses: rustsec/audit-check@69366f33c96575abad1ee0dba8212993eecbe998 # v2.0.0 with: