From 278577c440b1446df00e5e0898a9d6c772ff08c9 Mon Sep 17 00:00:00 2001 From: John Nunley Date: Fri, 18 Oct 2024 15:20:02 -0700 Subject: [PATCH] ci: Use "v2.0.0" branch for security check Signed-off-by: John Nunley --- .github/workflows/ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index df055fb..84598fa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -93,7 +93,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 }} + token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file