mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
Ensure all mentions of cargo-install are --locked (#21592)
There's already a preference for this in the codebase, but a few of them have drifted away. Generally `--locked` is preferred to reduce exposure to supply-chain attacks (and just generally improve reproducibility). In an ideal world these dependencies would maybe even be pinned to versions but Cargo is kinda bad at that for devtools. Still better to use --locked than not.
This commit is contained in:
committed by
GitHub
Unverified
parent
8abcc5357d
commit
80a8563e48
+1
-1
@@ -25,7 +25,7 @@ source "$HOME/.cargo/env"
|
||||
rustup component add rustfmt
|
||||
rustup component add clippy
|
||||
# Install helper tools used by the workspace justfile:
|
||||
cargo install just
|
||||
cargo install --locked just
|
||||
# Optional: install nextest for the `just test` helper
|
||||
cargo install --locked cargo-nextest
|
||||
|
||||
|
||||
Reference in New Issue
Block a user