ci: Use "v2.0.0" branch for security check

Signed-off-by: John Nunley <[email protected]>
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 489b609..47d5ca5 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -107,7 +107,10 @@
     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/[email protected]
         with:
           token: ${{ secrets.GITHUB_TOKEN }}