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

Commit

Permalink
Faster Zig CI setup
Browse files Browse the repository at this point in the history
  • Loading branch information
gatesn committed Mar 6, 2024
1 parent a5002e7 commit 1b2c8aa
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,14 @@ jobs:
steps:
- uses: actions/checkout@v4

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

- name: Zig Lint - Fmt
run: zig fmt --check .
Expand Down

0 comments on commit 1b2c8aa

Please sign in to comment.