Skip to content

Commit

Permalink
Make sure checkgenerate target runs generate (#857)
Browse files Browse the repository at this point in the history
We're not properly detecting any change since the checkgenerate target
isn't running generate.
  • Loading branch information
pkwarren authored Feb 3, 2025
1 parent a0c25fe commit 572b8a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ upgrade: ## Upgrade dependencies
go get -u -t ./... && go mod tidy -v

.PHONY: checkgenerate
checkgenerate:
checkgenerate: generate
@# Used in CI to verify that `make generate` doesn't produce a diff.
test -z "$$(git status --porcelain | tee /dev/stderr)"

Expand Down

0 comments on commit 572b8a6

Please sign in to comment.