You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .buildkite/pipeline.yml
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -123,6 +123,12 @@ steps:
123
123
soft_fail:
124
124
- exit_status: "*"
125
125
126
+
- label: 'go mod tidy'
127
+
commands:
128
+
- 'go mod tidy'
129
+
- test -z "$(git status --porcelain)" && exit 0 || git --no-pager diff && echo -e '\ngo.mod and/or go.sum differ from committed, please run "go mod tidy" and commit the updated files.\n' && exit 42
130
+
soft_fail:
131
+
- exit_status: 42# Dependabot doesn't modify go.mod and go.sum
126
132
127
133
# This allows the cleanup step to always run, regardless of test failure
0 commit comments