diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 6cad9b335c..d1d1e1d920 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -49,7 +49,7 @@ jobs: go mod tidy go mod vendor go mod verify - git diff --exit-code + test -z "$(git status --porcelain)" || (echo "please run 'go mod tidy && go mod vendor', and submit your changes"; exit 1) - name: Build run: make