mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-06-01 09:42:41 +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
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- 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
|
- uses: rustsec/audit-check@v2.0.0
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue