From 7709881f8d8afe39d11efd97ee2eedaec351e179 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Thu, 7 May 2026 18:07:40 -0700 Subject: [PATCH] Use `CARGO_NET_GIT_FETCH_WITH_CLI` in `rust-ci-full` for more reliable git fetches --- .github/workflows/rust-ci-full.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/rust-ci-full.yml b/.github/workflows/rust-ci-full.yml index d0edf6751ba4..2aa609a88b90 100644 --- a/.github/workflows/rust-ci-full.yml +++ b/.github/workflows/rust-ci-full.yml @@ -7,6 +7,11 @@ on: workflow_dispatch: # CI builds in debug (dev) for faster signal. +env: + # Cargo's libgit2 transport has been flaky on macOS when fetching git + # dependencies with nested submodules. Use the system git CLI, which has + # better network/proxy behavior and matches Cargo's own suggested fallback. + CARGO_NET_GIT_FETCH_WITH_CLI: "true" jobs: # --- CI that doesn't need specific targets ---------------------------------