Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ef2a69 commit 1c5fef0Copy full SHA for 1c5fef0
.github/workflows/test.yml
@@ -54,8 +54,10 @@ jobs:
54
55
- name: git diff
56
run: |
57
- git diff --compact-summary --exit-code || \
58
- (echo; echo "Unexpected difference in directories after code generation. Run 'go generate ./...' command and commit."; exit 1)
+ if [[ -n $(git ls-files --other --modified --exclude-standard) ]]; then
+ echo "Unexpected difference in directories after code generation. Run 'make gen' and include the output in the commit."
59
+ exit 1
60
+ fi
61
62
# Run acceptance tests in a matrix with Terraform CLI versions
63
test:
0 commit comments