make: Run checklocks tool directly.

Running through "go vet" caused JSON output since switching to Go 1.26 and
doesn't fail the job on errors.
This commit is contained in:
Joachim Bauch 2026-02-12 10:24:50 +01:00
commit d47c280d31
No known key found for this signature in database
GPG key ID: 77C1D22D53E15F02

View file

@ -121,7 +121,7 @@ benchmark:
GOEXPERIMENT=$(GOEXPERIMENT) $(GO) test -bench=$(BENCHMARK) -benchmem -run=^$$ -timeout $(TIMEOUT) $(TESTARGS) ./...
checklocks: $(GOPATHBIN)/checklocks
GOEXPERIMENT=$(GOEXPERIMENT) $(GO) vet -vettool=$(GOPATHBIN)/checklocks ./...
GOEXPERIMENT=$(GOEXPERIMENT) $(GOPATHBIN)/checklocks ./...
cover: vet
rm -f cover.out && \