Skip to content

Commit

Permalink
Update rustsec/audit-check branch name to main
Browse files Browse the repository at this point in the history
The latest version of the action doesn't generate Cargo.lock
automatically anymore, so I added an extra step to do this.
  • Loading branch information
TheJokr authored and notgull committed Oct 6, 2024
1 parent 6dee614 commit cfc0ab0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# rustsec/audit-check used to do this automatically
- name: Generate Cargo.lock
run: cargo generate-lockfile
# https://github.com/rustsec/audit-check/issues/2
- uses: rustsec/audit-check@master
- uses: rustsec/audit-check@main
with:
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit cfc0ab0

Please sign in to comment.