diff --git a/Makefile.linting b/Makefile.linting index 382e1fadd..adb77bac3 100644 --- a/Makefile.linting +++ b/Makefile.linting @@ -24,7 +24,7 @@ ifneq (,$(shell find . -name '*.go')) # If a workspace is already set up, it will be used instead find . -name go.mod -execdir git grep -qFl 'func ' -- '*.go' \; -printf '%h ' | xargs go work init ||: # Analyse all the modules containing function declarations - golangci-lint run --out-format=github-actions --timeout 10m $$(find . -name go.mod -execdir git grep -qFl 'func ' -- '*.go' \; -printf '%h/...\n') + golangci-lint run --out-format=colored-line-number --timeout 10m $$(find . -name go.mod -execdir git grep -qFl 'func ' -- '*.go' \; -printf '%h/...\n') else @echo 'There are no Go files to lint.' endif