From 9789a8b0a3bcdebdf7e5112822a6aa0413b92137 Mon Sep 17 00:00:00 2001 From: Andrei Homescu Date: Thu, 20 Nov 2025 18:25:54 -0800 Subject: [PATCH] ci: Add runner name to rust-cache key --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 17fab5adc1..18f26406b2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,6 +43,10 @@ jobs: - uses: Swatinem/rust-cache@v2 with: cache-workspace-crates: true + # Add the runner name to the cache key because we have + # multiple Linux runners with different versions of the + # system libraries and we do not want to mix them up. + key: "${{ matrix.runner }}" # Run after `rust-cache` so that this is cached. - name: Install Rust toolchains