Makefile: make vet and golangci-lint to also check synctests

Follow-up for 3d6f353430

Signed-off-by: Artem Fetishev <rtm@victoriametrics.com>
This commit is contained in:
Artem Fetishev
2026-02-12 12:18:47 +01:00
parent 785daff65d
commit efd3b66609

View File

@@ -443,7 +443,7 @@ fmt:
gofmt -l -w -s ./apptest
vet:
go vet ./lib/...
go vet -tags 'synctest' ./lib/...
go vet ./app/...
go vet ./apptest/...
@@ -524,7 +524,7 @@ install-qtc:
golangci-lint: install-golangci-lint
golangci-lint run
golangci-lint run --build-tags 'synctest'
install-golangci-lint:
which golangci-lint && (golangci-lint --version | grep -q $(GOLANGCI_LINT_VERSION)) || curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell go env GOPATH)/bin v$(GOLANGCI_LINT_VERSION)