ci/android: use --locked when installing nextest (#10467)

This commit is contained in:
Daniel Hofstetter
2026-01-24 19:33:55 +01:00
committed by GitHub
parent ddd0379523
commit 1ce8990141
+1 -1
View File
@@ -534,7 +534,7 @@ snapshot() {
# We need to install nextest via cargo currently, since there is no pre-built binary for android x86
# explicitly set CARGO_TARGET_DIR as otherwise a random generated tmp directory is used,
# which prevents incremental build for the retries.
command="export CARGO_TERM_COLOR=always && export CARGO_TARGET_DIR=\"cargo_install_target_dir\" && cargo install cargo-nextest"
command="export CARGO_TERM_COLOR=always && export CARGO_TARGET_DIR=\"cargo_install_target_dir\" && cargo install cargo-nextest --locked"
run_with_retry 3 run_command_via_ssh "$command"
return_code=$?