Skip to content

Commit 78db9ee

Browse files
Pass --locked to the x test tidy call
This allows to fail the push when the `Cargo.lock` file needs to be updated.
1 parent 005fc0f commit 78db9ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/etc/pre-push.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ ROOT_DIR="$(git rev-parse --show-toplevel)"
1414
echo "Running pre-push script $ROOT_DIR/x test tidy"
1515

1616
cd "$ROOT_DIR"
17-
./x test tidy
17+
CARGOFLAGS="--locked" ./x test tidy

0 commit comments

Comments
 (0)