From eab1dc927b066975f214dd0e33a0b44be3a68a2d Mon Sep 17 00:00:00 2001 From: ferhat elmas Date: Fri, 7 Apr 2023 16:51:31 +0200 Subject: [PATCH] chore: fix automatic issue handling from linter in ci (#16969) --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 319c6f1b7..c4709f713 100644 --- a/Makefile +++ b/Makefile @@ -37,6 +37,10 @@ check-gen: ## check for updated autogenerated files @(! git diff --name-only | grep '_gen.go$$') || (echo "Non-committed changes in auto-generated code is detected, please commit them to proceed." && false) lint: getdeps ## runs golangci-lint suite of linters + @echo "Running $@ check" + @$(GOLANGCI) run --build-tags kqueue --timeout=10m --config ./.golangci.yml + +lint-fix: getdeps ## runs golangci-lint suite of linters with automatic fixes @echo "Running $@ check" @$(GOLANGCI) run --build-tags kqueue --timeout=10m --config ./.golangci.yml --fix