From eca868a7b2e56c8615dcd1218bc36c5636aa7f30 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Sat, 19 Oct 2024 09:43:13 -0600 Subject: [PATCH] CI: fix security audit (#639) New Ubuntu images are being deployed, which is causing the cached binaries not to work due to a GLIBC upgrade: https://github.blog/changelog/2024-09-25-actions-new-images-and-ubuntu-latest-changes/ To ensure we're caching consistently on the new image, switches from using `ubuntu-latest` to `ubuntu-24.04`. We can revert this change after October 30th, when the blog post says the deployment is complete. --- .github/workflows/security-audit.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/security-audit.yml b/.github/workflows/security-audit.yml index 09485e6a..eceda37e 100644 --- a/.github/workflows/security-audit.yml +++ b/.github/workflows/security-audit.yml @@ -13,14 +13,14 @@ on: jobs: security_audit: name: Security Audit - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - name: Cache cargo bin uses: actions/cache@v4 with: path: ~/.cargo/bin - key: ${{ runner.os }}-cargo-audit-v0.20 - - uses: actions-rs/audit-check@v1 + key: ${{ runner.os }}-cargo-audit-v0.20-ubuntu-v24.04 + - uses: rustsec/audit-check@v2 with: token: ${{ secrets.GITHUB_TOKEN }}