chore: add lint for codersdk dependencies (#14638)

This commit is contained in:
Ethan
2024-09-12 15:34:03 +10:00
committed by GitHub
parent efd532e1d7
commit 33e896d404
3 changed files with 46 additions and 0 deletions
+1
View File
@@ -451,6 +451,7 @@ lint/ts:
lint/go:
./scripts/check_enterprise_imports.sh
./scripts/check_codersdk_imports.sh
linter_ver=$(shell egrep -o 'GOLANGCI_LINT_VERSION=\S+' dogfood/contents/Dockerfile | cut -d '=' -f 2)
go run github.com/golangci/golangci-lint/cmd/golangci-lint@v$$linter_ver run
.PHONY: lint/go