From 3366c5b69dc1996213f8cf8e1c1c0e8f2cd4121c Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 17 Mar 2026 20:46:44 +0000 Subject: [PATCH] Fix CI: use pip install ziglang for reliable zig installation The snap install was unreliable and the apt fallback used a non-existent package name. pip install ziglang is the recommended way to install zig in CI environments. https://claude.ai/code/session_01EcsZDNeWn56wFqryb4Wq7r --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 728a943..781e13f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,10 +25,10 @@ jobs: toolchain: ${{ matrix.rust }} targets: x86_64-unknown-linux-musl,aarch64-unknown-linux-musl components: rustfmt,clippy - - name: Install cargo-zigbuild and zig - run: | - sudo snap install zig --classic --beta || sudo apt-get update && sudo apt-get install -y ziglang - cargo install cargo-zigbuild + - name: Install zig + run: pip install ziglang + - name: Install cargo-zigbuild + run: cargo install cargo-zigbuild - name: Cache cargo registry uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v4 with: