1
0
Fork 0
mirror of https://github.com/imjasonh/krust synced 2026-07-08 06:45:32 +00:00

Fix CI: skip cargo-zigbuild install when cached binary works

cargo install fails with exit code 101 when the binary already exists
from cache. Check if cargo-zigbuild works first before installing.

https://claude.ai/code/session_01EcsZDNeWn56wFqryb4Wq7r
This commit is contained in:
Claude 2026-03-18 20:53:21 +00:00
parent 508913e07e
commit 9cf1e952e2
No known key found for this signature in database

View file

@ -51,8 +51,7 @@ jobs:
# ziglang pip package installs as python-zig, symlink to zig for cargo-zigbuild
sudo ln -sf "$(which python-zig)" /usr/local/bin/zig
zig version
cargo-zigbuild --version 2>/dev/null || cargo install cargo-zigbuild
cargo-zigbuild --version
cargo-zigbuild --version || cargo install cargo-zigbuild
- run: make check-fmt
- run: make lint