From 66de90b5f51053d9e539a952f30c3a0eef761abc Mon Sep 17 00:00:00 2001 From: Xavier Coulon Date: Fri, 7 Aug 2026 12:53:15 +0200 Subject: [PATCH] chore: remove the 'check-go-code' make goal not needed anymore, covered by golangci-lint Signed-off-by: Xavier Coulon --- make/go.mk | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/make/go.mk b/make/go.mk index e977bb69..97018536 100644 --- a/make/go.mk +++ b/make/go.mk @@ -16,17 +16,6 @@ format-go-code: # would be a syntax error — find -exec requires either + or \; as a terminator. $(Q)find . -name '*.go' -not -path '*/vendor/*' -not -path '*/.git/*' -exec gofmt -s -l -w {} + -.PHONY: check-go-format -## Verify the formatting defined by 'gofmt' -check-go-format: - $(Q)find . -name '*.go' -not -path '*/vendor/*' -not -path '*/.git/*' -exec gofmt -s -l {} + 2>&1 \ - | tee $(OUT_DIR)/gofmt-errors \ - | read \ - && echo "ERROR: These files differ from gofmt's style (run 'make format-go-code' to fix this):" \ - && cat $(OUT_DIR)/gofmt-errors \ - && exit 1 \ - || true - .PHONY: build ## Build build: