From 4aac388632c3680d8a1b219e72e0ff58ab31281b Mon Sep 17 00:00:00 2001 From: John Nunley Date: Fri, 18 Oct 2024 15:39:55 -0700 Subject: [PATCH] ci: Use "v2.0.0" branch for audit check Signed-off-by: John Nunley --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6b69dee..291dc1c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -96,7 +96,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@v2.0.0 with: token: ${{ secrets.GITHUB_TOKEN }}