fix: update Rust installation check to use executable path for cargo

This commit is contained in:
2026-01-11 08:31:01 +01:00
parent 8441dbd74e
commit 2ef2b827b7

View File

@@ -44,7 +44,7 @@ jobs:
shell: bash
run: |
set -e
if ! command -v cargo >/dev/null 2>&1; then
if [ ! -x "$HOME/.cargo/bin/cargo" ]; then
curl -fsSL https://sh.rustup.rs | sh -s -- -y --default-toolchain stable
fi
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"