Skip to content

fix(ci): use --help instead of --version for cargo-zigbuild - #959

Merged
ajianaz merged 1 commit into
developfrom
fix/zigbuild-cmd-fix
Aug 8, 2026
Merged

fix(ci): use --help instead of --version for cargo-zigbuild#959
ajianaz merged 1 commit into
developfrom
fix/zigbuild-cmd-fix

Conversation

@ajianaz

@ajianaz ajianaz commented Aug 8, 2026

Copy link
Copy Markdown
Collaborator

What

Fix cargo zigbuild --version yang menyebabkan CI failure. cargo-zigbuild CLI tidak support --version flag.

Why

PR #957 add cargo zigbuild --version sebagai sanity check di install step. Tapi cargo-zigbuild tidak punya --version flag, jadi set -e exit dengan error unexpected argument '--version' found. Zig binary path resolution-nya berhasil (zig version jalan), tapi cargo-zigbuild check yang error.

Changes

  • Ganti --version ke --help (didukung oleh cargo-zigbuild)
  • Redirect output ke /dev/null untuk clean logs

Testing

CI akan verify install step passes. Release workflow akan verify actual build.

cargo-zigbuild does not support --version flag, causing set -e to exit.
Use --help (which is supported) to verify the binary is accessible.
@github-actions

github-actions Bot commented Aug 8, 2026

Copy link
Copy Markdown

🔍 Cora AI Code Review

No issues found. Code looks good!


Review powered by cora-code · BYOK · MIT

@ajianaz
ajianaz merged commit 37f2395 into develop Aug 8, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant