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 1010 @echo " tidy tidy go mod"
1111
1212$(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
1414
1515.PHONY : tools
1616tools : $(GOBIN ) /golangci-lint
@@ -19,7 +19,7 @@ lint: tools
1919 git ls-files go.mod ' **/*go.mod' -z | xargs -0 -I{} bash -xc ' cd $$(dirname {}) && $(GOBIN)/golangci-lint run ./...'
2020
2121lint-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'
2323
2424generate :
2525 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