Skip to content

Commit

Permalink
CI: disable security-audit cache (#1576)
Browse files Browse the repository at this point in the history
We're encountering errors like:

      /home/runner/.cargo/bin/cargo-audit: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.39' not found (required by /home/runner/.cargo/bin/cargo-audit)

These are occurring even with freshly-built binaries.

To avoid blocking PRs, temporarily disable the build cache until we have
time to properly investigate.
  • Loading branch information
tarcieri authored Oct 16, 2024
1 parent d2be079 commit 8a854c7
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/security-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ jobs:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- uses: actions/cache@v4
with:
path: ~/.cargo/bin
key: ${{ runner.os }}-cargo-audit-v0.20
# TODO(tarcieri): investigate why cached binaries aren't working
#- uses: actions/cache@v4
# with:
# path: ~/.cargo/bin
# key: ${{ runner.os }}-cargo-audit-v0.20
- uses: rustsec/audit-check@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 8a854c7

Please sign in to comment.