Skip to content

Commit 4609957

Browse files
committed
try harder to break things
1 parent 1a391db commit 4609957

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

scripts/golint.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
#!/bin/sh
22

3-
set -e
3+
# intentionally NOT `set -e` to simplify checks before exiting,
4+
# make changes with care
45

56
# refresh deps
6-
make tidy
7+
make tidy || exit 1
78
# regenerate, format, and make sure everything builds
8-
make build
9+
make build || exit 1
910

1011
# intentionally capture stderr, so status-errors are also PR-failing.
1112
# in particular this catches "dubious ownership" failures, which otherwise

0 commit comments

Comments
 (0)