ci: run linter in ./api package (#19513)

This commit is contained in:
Luiz Aoqui
2023-12-19 15:59:47 -05:00
committed by GitHub
parent 95766aaa1b
commit e4e70b086a
14 changed files with 43 additions and 42 deletions

View File

@@ -161,6 +161,9 @@ check: ## Lint the source code
@echo "==> Linting source code..."
@golangci-lint run
@echo "==> Linting ./api source code..."
@cd ./api && golangci-lint run --config ../.golangci.yml
@echo "==> Linting hclog statements..."
@hclogvet .