Skip to content

Commit 55a73d0

Browse files
committed
ci: switch zig setup action to mlugg/setup-zig (successor)
The macOS Apple Silicon release job (and others) were showing this warning on the GitHub Actions UI: ##[warning]Failed to restore: Cache service responded with 400 ##[warning]Failed to save: <h2>Our services aren't available right now</h2>... The warning was emitted by the 'Install Zig' step using goto-bus-stop/setup-zig@v2. That action has been DEPRECATED by its author and is now labeled 'Please use mlugg/setup-zig instead' in its action.yml. The cache: true default (the action caches the zig tarball via actions/cache) was hitting GitHub's cache service during a brief outage. Switch to the recommended successor: - goto-bus-stop/setup-zig@v2 -> mlugg/setup-zig@v2 - version: 0.16.0 (unchanged — same zig version) The new action: - is actively maintained - installs zig without the actions/cache integration (no more 'Failed to save/restore' warnings on cache hiccups) - uses the same tarball+PATH approach Verified: actionlint clean, YAML parses, mix ci green, 162 tests pass.
1 parent 5d2e04f commit 55a73d0

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -238,9 +238,10 @@ jobs:
238238

239239
- name: Install Zig
240240
# Burrito needs a specific zig version (0.16.0) to cross-compile
241-
# BEAM. Install it via goto-bus-stop/setup-zig which is the
242-
# same action Burrito's own CI uses.
243-
uses: goto-bus-stop/setup-zig@v2
241+
# BEAM. Install it via mlugg/setup-zig (the recommended
242+
# successor to goto-bus-stop/setup-zig, which is now
243+
# deprecated and hits GitHub's cache service unreliability).
244+
uses: mlugg/setup-zig@v2
244245
with:
245246
version: 0.16.0
246247

0 commit comments

Comments
 (0)