diff --git a/templates/.github/workflows/go-check.yml b/templates/.github/workflows/go-check.yml index 22d23a45..b834b1c4 100644 --- a/templates/.github/workflows/go-check.yml +++ b/templates/.github/workflows/go-check.yml @@ -61,7 +61,7 @@ jobs: with: run: | git clean -fd # make sure there aren't untracked files / directories - go generate ./... + go generate -x ./... # check if go generate modified or added any files if ! $(git add . && git diff-index HEAD --exit-code --quiet); then echo "go generated caused changes to the repository:"