Skip to content

Commit

Permalink
Add matrix.os to Swatinem/rust-cache key to fix test job
Browse files Browse the repository at this point in the history
  • Loading branch information
gluxon committed May 14, 2022
1 parent 724d4bb commit 75e29c1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/primary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v1
with:
# A rough approximation of the current operating system version is needed on the
# rust-cache key. This fixes a problem with the grcov command throwing "version
# `GLIBC_2.32' not found" before this fix. It's likely a grcov binary dynamically linked
# with a different Ubuntu version was getting restored.
key: ${{ matrix.os }}
- name: Install llvm-tools-preview
uses: actions-rs/toolchain@v1
with:
Expand Down

0 comments on commit 75e29c1

Please sign in to comment.