diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 6ea6f7d..b832904 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -42,7 +42,9 @@ jobs: - name: Run go generate run: | + cd internal/tools go install golang.org/x/tools/cmd/stringer + cd ../.. go generate ./... git diff --exit-code || (echo "Generated files have changed. Please run 'go generate' and commit the changes." && exit 1)