mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
chore: ensure correct version of golangci-lint is run in ci (#13869)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user