Skip to content

Commit 4acb8db

Browse files
ci(rust): replace dead magic-nix-cache with cachix nix-store cache
magic-nix-cache v8 only uploads to FlakeHub (not connected) — its GHA backend was retired, so it cached nothing. Use our public cachix cache (kasumi-proxy) instead: pulls the devshell closure as a substituter and pushes newly-built paths. Reads need no token (public), so fork PRs benefit; pushes use CACHIX_AUTH_TOKEN.
1 parent b208eba commit 4acb8db

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,16 @@ jobs:
133133
extra-conf: |
134134
accept-flake-config = true
135135
136-
- name: Nix store cache
137-
uses: DeterminateSystems/magic-nix-cache-action@87b14cf437d03d37989d87f0fa5ce4f5dc1a330b # v8
136+
# ── Nix store cache (cachix). Pulls the devshell closure from our public
137+
# cache as a substituter and pushes anything newly built at the end. Reads
138+
# need no token (public cache), so fork PRs benefit too; pushes use the
139+
# CACHIX_AUTH_TOKEN secret (absent on forks → read-only there). Replaces the
140+
# retired magic-nix-cache, whose GHA backend was a no-op. ──
141+
- name: Cachix
142+
uses: cachix/cachix-action@5f2d7c5294214f71b873db4b969586b980625e71 # v17
143+
with:
144+
name: kasumi-proxy
145+
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
138146

139147
# ── Cache the cargo registry + workspace build artifacts. The compile of
140148
# clippy --all-targets + test + codegen (hundreds of crates: tauri, specta,

0 commit comments

Comments
 (0)