Skip to content

Commit 9173d48

Browse files
georgeglarsonclaude
andcommitted
Fix CI: install Zig directly, disable Go cache without go.sum
The mlugg/setup-zig action mirrors 404 on Zig 0.14.1. Download from the official release URL instead. Disable Go dependency caching since GildedRose has no external dependencies (no go.sum). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e5ccc5a commit 9173d48

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,10 @@ jobs:
2929
working-directory: MissingNumber
3030
steps:
3131
- uses: actions/checkout@v4
32-
- uses: mlugg/setup-zig@v1
33-
with:
34-
version: 0.14.1
32+
- name: Install Zig 0.14.1
33+
run: |
34+
curl -L https://ziglang.org/download/0.14.1/zig-linux-x86_64-0.14.1.tar.xz | tar -xJ
35+
echo "$PWD/zig-linux-x86_64-0.14.1" >> "$GITHUB_PATH"
3536
- run: make test
3637

3738
morse-code:
@@ -69,6 +70,7 @@ jobs:
6970
- uses: actions/setup-go@v5
7071
with:
7172
go-version: "1.22"
73+
cache: false
7274
- run: make test
7375

7476
restaurant-reviews:

0 commit comments

Comments
 (0)