Skip to content

Commit

Permalink
ci: fix audit failing by generating cargo lock file before running it
Browse files Browse the repository at this point in the history
  • Loading branch information
CosminPerRam committed Oct 29, 2024
1 parent 664cf8b commit 7ae7de0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 7ae7de0

Please sign in to comment.