File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 10
10
@echo " tidy tidy go mod"
11
11
12
12
$(GOBIN ) /golangci-lint :
13
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOBIN ) v1.59.0
13
+ curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOBIN ) v2.1.2
14
14
15
15
.PHONY : tools
16
16
tools : $(GOBIN ) /golangci-lint
@@ -19,7 +19,7 @@ lint: tools
19
19
git ls-files go.mod ' **/*go.mod' -z | xargs -0 -I{} bash -xc ' cd $$(dirname {}) && $(GOBIN)/golangci-lint run ./...'
20
20
21
21
lint-ci : tools
22
- git ls-files go.mod ' **/*go.mod' -z | xargs -0 -I{} bash -xc ' cd $$(dirname {}) && $(GOBIN)/golangci-lint run ./... --out-format=github-actions --timeout=5m'
22
+ git ls-files go.mod ' **/*go.mod' -z | xargs -0 -I{} bash -xc ' cd $$(dirname {}) && $(GOBIN)/golangci-lint run ./... --output.text.path=stdout --timeout=5m'
23
23
24
24
generate :
25
25
git ls-files go.mod ' **/*go.mod' -z | xargs -0 -I{} bash -xc ' cd $$(dirname {}) && go generate ./...'
You can’t perform that action at this time.
0 commit comments