chore: ensure correct version of golangci-lint is run in ci (#13869)

This commit is contained in:
Colin Adler
2024-07-10 14:50:38 -05:00
committed by GitHub
parent 90a6025e18
commit a6d66cc7ec
3 changed files with 3 additions and 4 deletions
+1 -2
View File
@@ -448,8 +448,7 @@ lint/ts:
lint/go:
./scripts/check_enterprise_imports.sh
linter_ver=$(shell egrep -o 'GOLANGCI_LINT_VERSION=\S+' dogfood/Dockerfile | cut -d '=' -f 2)
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v$$linter_ver
golangci-lint run
go run github.com/golangci/golangci-lint/cmd/golangci-lint@v$$linter_ver run
.PHONY: lint/go
lint/examples: