Skip to content

Commit 344f99c

Browse files
committed
fix(mise): switch sccache to ubi backend to match shim expectations
The mise shim maps the sccache binary to ubi:mozilla/sccache, but the tool was installed as github:mozilla/sccache. This backend mismatch causes the shim to fail with 'No version is set for shim: sccache' on amd64. The github: backend is deprecated in favor of ubi: in newer mise versions — switching aligns the tool declaration with what the shim expects. Also removes the now-unnecessary 'Activate mise environment' CI step.
1 parent fe5b310 commit 344f99c

2 files changed

Lines changed: 1 addition & 10 deletions

File tree

.github/workflows/checks.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,6 @@ jobs:
3434
- name: Install tools
3535
run: mise install
3636

37-
- name: Activate mise environment
38-
run: |
39-
# Register sccache globally so the mise shim can resolve it.
40-
# Without this, the shim fails with "No version is set for shim".
41-
mise use -g github:mozilla/sccache@0.14.0
42-
# Resolve RUSTC_WRAPPER to the absolute sccache binary so cargo
43-
# invokes it directly, bypassing the shim entirely.
44-
echo "RUSTC_WRAPPER=$(mise which sccache)" >> "$GITHUB_ENV"
45-
4637
- name: Cache Rust target and registry
4738
uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2
4839
with:

mise.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ kubectl = "1.35.1"
1515
uv = "0.10.2"
1616
protoc = "29.6"
1717
helm = "4.1.1"
18-
"github:mozilla/sccache" = "0.14.0"
18+
"ubi:mozilla/sccache" = "0.14.0"
1919

2020
[env]
2121
_.path = ["{{config_root}}/scripts/bin"]

0 commit comments

Comments
 (0)