File tree Expand file tree Collapse file tree 1 file changed +7
-13
lines changed
Expand file tree Collapse file tree 1 file changed +7
-13
lines changed Original file line number Diff line number Diff line change @@ -12,19 +12,13 @@ jobs:
1212 build :
1313 runs-on : ubuntu-latest
1414 steps :
15- - uses : actions/checkout@v4
15+ - name : Checkout
16+ uses : actions/checkout@v4
1617
17- - name : Download zig
18- run : wget https://ziglang.org/builds/zig-linux-x86_64-0.15.0-dev.75+03123916e.tar.xz
19-
20- - name : Extract
21- run : tar -xf zig-linux-x86_64-0.15.0-dev.75+03123916e.tar.xz
22-
23- - name : Alias
24- run : alias zig=$PWD/zig-linux-x86_64-0.15.0-dev.75+03123916e/zig
25-
26- - name : Version
27- run : $PWD/zig-linux-x86_64-0.15.0-dev.75+03123916e/zig version
18+ - name : Setup Zig
19+ uses : mlugg/setup-zig@v2
20+ with :
21+ version : 0.15.1
2822
2923 - name : Test
30- run : $PWD/zig-linux-x86_64-0.15.0-dev.75+03123916e/ zig build test
24+ run : zig build test
You can’t perform that action at this time.
0 commit comments