diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index bb4d4c12..44f379fb 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 ./...