fix: correct Zig download URL, add libclang and cargo chef#6
Merged
Conversation
The Zig archive naming convention is zig-x86_64-linux, not zig-linux-x86_64. Also install xz-utils instead of unzip for .tar.xz extraction, and use curl -f to fail on HTTP errors. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The tigerbeetle-unofficial sys crate uses bindgen which requires libclang at build time. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Splits the build into planner/builder stages so dependency compilation is cached as a separate Docker layer. Source-only changes skip the ~12 min dependency build entirely. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Avoids rustc version mismatch with cargo-chef dependencies by using the official lukemathwalker/cargo-chef image which bundles a compatible cargo-chef with the Rust toolchain. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Uses type=gha cache with buildx so cargo-chef dependency layers persist across workflow runs on ephemeral GitHub runners. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The default docker driver doesn't support cache export. The docker-container driver via setup-buildx-action enables it. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
zig-x86_64-linux, notzig-linux-x86_64(was returning 404)xz-utilsinstead ofunzipfor.tar.xzextractionlibclang-devfor bindgen (required by tigerbeetle-unofficial sys crate)curl -fto fail fast on HTTP errors instead of silently saving error pagesTest plan
ghcr.io/juspay/purpose-bound-accounts🤖 Generated with Claude Code