fix: cargo git-fetch-with-cli для загрузки anchor из git

This commit is contained in:
2026-09-02 17:02:28 +03:00
parent 133c5a2147
commit 0904b1b76b
+2
View File
@@ -28,6 +28,8 @@ jobs:
- name: Setup Anchor CLI (anchor-next)
run: |
. "$HOME/.cargo/env"
mkdir -p "$HOME/.cargo"
printf '[net]\ngit-fetch-with-cli = true\n' > "$HOME/.cargo/config.toml"
cargo install --force --git https://github.com/anchor-lang/anchor.git \
--branch anchor-next anchor-cli --locked
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"