mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-06 07:17:27 +00:00
ci: fix audit failing by generating cargo lock file before running it (#229)
This commit is contained in:
parent
664cf8b2db
commit
30ae60e4dc
1 changed files with 5 additions and 0 deletions
5
.github/workflows/audit.yml
vendored
5
.github/workflows/audit.yml
vendored
|
|
@ -10,6 +10,11 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Generate Cargo.lock # https://github.com/rustsec/audit-check/issues/27
|
||||
run: cargo generate-lockfile
|
||||
|
||||
- name: Audit Check
|
||||
- uses: rustsec/audit-check@v2.0.0
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue