mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
ci: run linter in ./api package (#19513)
This commit is contained in:
@@ -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 .
|
||||
|
||||
|
||||
Reference in New Issue
Block a user