diff options
| author | Albert Larsan <74931857+albertlarsan68@users.noreply.github.com> | 2023-01-21 20:21:04 +0000 |
|---|---|---|
| committer | Albert Larsan <74931857+albertlarsan68@users.noreply.github.com> | 2023-01-21 20:21:04 +0000 |
| commit | 78db9ee21a558d43948cde67c22487993c1b23ac (patch) | |
| tree | 9fbc7c278e599394a9860c2afc72cdde99d8d7b6 | |
| parent | 005fc0f00f2d4ceaf523b67a8f9c5665b8ac5baf (diff) | |
| download | rust-78db9ee21a558d43948cde67c22487993c1b23ac.tar.gz rust-78db9ee21a558d43948cde67c22487993c1b23ac.zip | |
Pass `--locked` to the x test tidy call
This allows to fail the push when the `Cargo.lock` file needs to be updated.
| -rwxr-xr-x | src/etc/pre-push.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/pre-push.sh b/src/etc/pre-push.sh index 7a846d44ad6..ff17931115c 100755 --- a/src/etc/pre-push.sh +++ b/src/etc/pre-push.sh @@ -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 |
