From 267f1300cb8ea513b01c9c94c431c9e72e0123d4 Mon Sep 17 00:00:00 2001 From: Zach Kelling Date: Thu, 26 Nov 2026 23:07:44 -0800 Subject: [PATCH] fix(ci): use libgit2 for public dependency fetch Testing: CARGO_NET_GIT_FETCH_WITH_CLI=false cargo check --locked -p hanzod passes. Risk: low. CI gate change only; dependencies are public HTTPS mirrors and no longer need the git CLI/SSH rewrite. How to revert: git revert this commit. Co-authored-by: Hanzo Dev --- hanzo.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/hanzo.yml b/hanzo.yml index 61cc04082..547fdd3ce 100644 --- a/hanzo.yml +++ b/hanzo.yml @@ -3,9 +3,8 @@ test: # Locked, so the gate resolves the same tree the Dockerfile does. - # lux-node is locked via ssh://git@github.com/lux-rs/node.git; hand the fetch - # to git CLI and add the ssh:// -> https:// rewrite alongside hanzoai/ci's - # https:// rewrite, matching Dockerfile without mutating Cargo.lock. + # lux-node and lux-evm are locked to public luxfi mirrors, so Cargo's libgit2 + # fetch works without a git CLI credential or an SSH -> HTTPS rewrite. - name: build run: | set -e @@ -16,7 +15,7 @@ test: url."https://x-access-token:${GIT_TOKEN}@github.com/".insteadOf "ssh://git@github.com/" export GIT_CONFIG_GLOBAL="$cfg" GIT_CONFIG_NOSYSTEM=1 fi - CARGO_NET_GIT_FETCH_WITH_CLI=true cargo build --release --locked + cargo build --release --locked test -s target/release/hanzod test -s target/release/hanzo-chain