Skip to content

Commit

Permalink
Pass --locked to the x test tidy call
Browse files Browse the repository at this point in the history
This allows to fail the push when the `Cargo.lock` file needs to be updated.
  • Loading branch information
albertlarsan68 committed Jan 21, 2023
1 parent 005fc0f commit 78db9ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/etc/pre-push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 78db9ee

Please sign in to comment.