Skip to content

Commit 105a630

Browse files
fix(ci): install binstall tools to CARGO_BIN so they're on PATH
cargo-binstall defaults to $CARGO_HOME/bin which is project-local (.cache/cargo/bin), but ci.yml PATH only includes ~/.cargo/bin. Use --install-path to put nextest and tauri-cli where cargo finds them. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 17364ab commit 105a630

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

taskfiles/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,16 +89,16 @@ tasks:
8989
_install-cargo-nextest:
9090
internal: true
9191
cmds:
92-
- cargo binstall cargo-nextest --locked --no-confirm
92+
- cargo binstall cargo-nextest --locked --no-confirm --install-path "{{.CARGO_BIN}}"
9393
status:
94-
- command -v cargo-nextest
94+
- test -x "{{.CARGO_BIN}}/cargo-nextest"
9595

9696
_install-tauri-cli:
9797
internal: true
9898
cmds:
99-
- cargo binstall tauri-cli --locked --no-confirm
99+
- cargo binstall tauri-cli --locked --no-confirm --install-path "{{.CARGO_BIN}}"
100100
status:
101-
- cargo tauri --version
101+
- test -x "{{.CARGO_BIN}}/cargo-tauri"
102102

103103
setup-system-deps:
104104
desc: "Install Linux system dependencies for Tauri"

0 commit comments

Comments
 (0)