From ef2d993896ed50e045704f86c67ad1b22ff08218 Mon Sep 17 00:00:00 2001 From: jtoelke2 <149006449+jtoelke2@users.noreply.github.com> Date: Thu, 23 Apr 2026 22:58:21 -0500 Subject: [PATCH] fix(ci): expose GHA sccache env in shadow-shared-cpu-spike (#950) Signed-off-by: Jonas Toelke --- .github/workflows/shadow-shared-cpu-spike.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/shadow-shared-cpu-spike.yml b/.github/workflows/shadow-shared-cpu-spike.yml index 6dae8ad9d..f8d1785a0 100644 --- a/.github/workflows/shadow-shared-cpu-spike.yml +++ b/.github/workflows/shadow-shared-cpu-spike.yml @@ -43,6 +43,14 @@ jobs: - name: Install tools run: mise install + - name: Configure GHA sccache backend + # Exposes ACTIONS_CACHE_URL / ACTIONS_RUNTIME_TOKEN to subsequent steps + # so sccache (wrapped around rustc via RUSTC_WRAPPER in mise.toml) can + # initialize the GHA cache. Without this, sccache fails at startup with + # "cache url for ghac not found". The action also installs its own + # sccache binary; harmless since mise's sccache remains on PATH. + uses: mozilla-actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9 + - name: Cache Rust target and registry uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2 with: