Skip to content

Commit 64a104d

Browse files
committed
Managed by Terraform: Update go-validate.yml GitHub workflow
1 parent aecb1ec commit 64a104d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/go-validate.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,6 @@ jobs:
8484
- run: |
8585
export PATH=$PATH:$(go env GOPATH)/bin
8686
make generate
87+
git diff --exit-code || ( echo "Found diffs in generated code" \
88+
&& echo "You can use the command: \`make generate\` to reformat code." \
89+
&& false )

0 commit comments

Comments
 (0)