ci: fix audit failing by generating cargo lock file before running it (#229)

This commit is contained in:
CosminPerRam 2024-10-29 22:42:33 +02:00 committed by GitHub
parent 664cf8b2db
commit 30ae60e4dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 }}