Rollup merge of #107169 - albertlarsan68:lock-in-pre-push, r=Mark-Simulacrum
Pass `--locked` to the x test tidy call This allows to fail the push when the `Cargo.lock` file needs to be updated.
This commit is contained in:
commit
6ce862cf8a
@ -14,4 +14,4 @@ ROOT_DIR="$(git rev-parse --show-toplevel)"
|
||||
echo "Running pre-push script $ROOT_DIR/x test tidy"
|
||||
|
||||
cd "$ROOT_DIR"
|
||||
./x test tidy
|
||||
CARGOFLAGS="--locked" ./x test tidy
|
||||
|
Loading…
Reference in New Issue
Block a user