Skip to content

Commit a6fdb1a

Browse files
authored
ci: generate lockfile in ci for rustsec/audit-check (#303)
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
1 parent bd4553a commit a6fdb1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/audit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ jobs:
3535
toolchain: stable
3636
- uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2
3737

38-
- name: Run cargo update for Cargo.lock
39-
run: cargo update
38+
- name: Generate lockfile (Cargo.lock)
39+
run: cargo generate-lockfile
4040

4141
- uses: rustsec/audit-check@69366f33c96575abad1ee0dba8212993eecbe998 # v2.0.0
4242
with:

0 commit comments

Comments
 (0)