From 8cfb7db233846330150cff656d90ceee3114457c Mon Sep 17 00:00:00 2001 From: Kalle Carlbark Date: Sun, 19 Jan 2025 19:05:58 +0100 Subject: [PATCH] ci: Use mlugg's setup-zig workflow --- .github/workflows/test.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index eb497c5..6b3391c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,12 +8,11 @@ jobs: uses: actions/checkout@v4 - run: | apt update; apt install --yes sudo - - uses: https://github.com/cachix/install-nix-action@v30 + - uses: https://github.com/mlugg/setup-zig@v1 with: - nix_path: nixpkgs=channel:nixos-unstable - enable_kvm: false + version: master # Cross-compile the binary. We always use static building for this # because its the only way to access the headers. - name: Test - run: nix develop -c zig build test --summary all + run: zig build test --summary all