From 75e29c1781518c23353770b22f439f2b51a6d340 Mon Sep 17 00:00:00 2001 From: Brandon Cheng Date: Sat, 14 May 2022 17:31:15 -0400 Subject: [PATCH] Add matrix.os to Swatinem/rust-cache key to fix test job --- .github/workflows/primary.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/primary.yml b/.github/workflows/primary.yml index 0f28ac9..b156cec 100644 --- a/.github/workflows/primary.yml +++ b/.github/workflows/primary.yml @@ -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: