Skip to content

Commit

Permalink
ci: ensure golangci-lint is run with Go build tags. (#24364)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrasell authored Nov 6, 2024
1 parent bdee6f0 commit b4c397e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,10 @@ $(git-dir)/hooks/%: dev/hooks/%
.PHONY: check
check: ## Lint the source code
@echo "==> Linting source code..."
@golangci-lint run
@golangci-lint run --build-tags "$(GO_TAGS)"

@echo "==> Linting ./api source code..."
@cd ./api && golangci-lint run --config ../.golangci.yml
@cd ./api && golangci-lint run --config ../.golangci.yml --build-tags "$(GO_TAGS)"

@echo "==> Linting hclog statements..."
@hclogvet .
Expand Down

0 comments on commit b4c397e

Please sign in to comment.