Skip to content
This repository was archived by the owner on Jun 17, 2024. It is now read-only.

Commit 6fdf2b6

Browse files
authored
Faster Zig CI setup (#10)
1 parent a5002e7 commit 6fdf2b6

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/ci.yml

+8-4
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,14 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v4
1919

20-
- name: Zig Setup
21-
uses: goto-bus-stop/setup-zig@v2
22-
with:
23-
version: "0.12.0-dev.2541+894493549"
20+
- name: Setup Zig
21+
shell: bash
22+
run: |
23+
curl -sL "https://ziglang.org/builds/zig-linux-x86_64-${ZIG_VERSION}.tar.xz" > ${{ runner.temp }}/zig.tar.xz
24+
tar -xf ${{ runner.temp }}/zig.tar.xz -C ${{ runner.temp }}
25+
echo "PATH=${{ runner.temp }}/zig-linux-x86_64-${ZIG_VERSION}:$PATH" >> $GITHUB_ENV
26+
env:
27+
ZIG_VERSION: "0.12.0-dev.2541+894493549"
2428

2529
- name: Zig Lint - Fmt
2630
run: zig fmt --check .

0 commit comments

Comments
 (0)