Skip to content

Commit 5446420

Browse files
authored
CI: fix security audit (#183)
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.
1 parent a7f45b2 commit 5446420

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/security-audit.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ on:
1313
jobs:
1414
security_audit:
1515
name: Security Audit
16-
runs-on: ubuntu-latest
16+
runs-on: ubuntu-24.04
1717
steps:
1818
- uses: actions/checkout@v4
1919
- name: Cache cargo bin
2020
uses: actions/cache@v4
2121
with:
2222
path: ~/.cargo/bin
23-
key: ${{ runner.os }}-cargo-audit-v0.20
24-
- uses: actions-rs/audit-check@v1
23+
key: ${{ runner.os }}-cargo-audit-v0.20-ubuntu-v24.04
24+
- uses: rustsec/audit-check@v2
2525
with:
2626
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)