mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Try a workaround for macOS CI failures
CARGO_NET_GIT_FETCH_WITH_CLI uses the `git` executable instead of the rust git2 crate/lib, which speeds things up and is known to resolve some issues fetching the registry or individual crates. This is to work around a specific issue with git-resident Cargo.toml dependencies (e.g. terminfo) that keep randomly failing to download under macOS CI.
This commit is contained in:
parent
37f0d7c522
commit
ebbba10608
1 changed files with 4 additions and 0 deletions
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
@ -152,6 +152,10 @@ jobs:
|
|||
|
||||
runs-on: macos-latest
|
||||
|
||||
env:
|
||||
# macOS runners keep having issues loading Cargo.toml dependencies from git (GitHub) instead
|
||||
# of crates.io, so give this a try. It's also sometimes significantly faster on all platforms.
|
||||
CARGO_NET_GIT_FETCH_WITH_CLI: true
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@1.70
|
||||
|
|
Loading…
Reference in a new issue