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:
Albert Larsan 2023-01-21 20:21:04 +00:00
parent 005fc0f00f
commit 78db9ee21a
No known key found for this signature in database
GPG key ID: 92709B88BB8F13EA

View file

@ -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