Skip to content

Commit

Permalink
Fix go generate exit code.
Browse files Browse the repository at this point in the history
Signed-off-by: Vitaliy Guschin <[email protected]>
  • Loading branch information
Vitaliy Guschin committed Mar 14, 2024
1 parent 3c0a753 commit 04e6482
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
run: go generate ./...
- name: Check for changes in generated code
run: |
git diff -- binapi || (echo "Rerun go generate ./... locally and resubmit" && exit -1)
git diff --name-only --exit-code -- binapi || (echo "Rerun go generate ./... locally and resubmit" && false )
- name: Go Build
run: go build ./...

Expand Down

0 comments on commit 04e6482

Please sign in to comment.