File tree Expand file tree Collapse file tree 3 files changed +22
-2
lines changed
Expand file tree Collapse file tree 3 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 24242525 with :
2626 only-new-issues : true
27- version : v1.54.2
27+ version : v1.55.1
2828 args : --timeout=900s
2929
3030 gomodtidy :
Original file line number Diff line number Diff line change 1+ # See https://pre-commit.com for more information
2+ # See https://pre-commit.com/hooks.html for more hooks
3+ repos :
4+ - repo : https://github.com/golangci/golangci-lint
5+ rev : v1.55.1
6+ hooks :
7+ - id : golangci-lint
8+ name : golangci-lint
9+ description : Fast linters runner for Go.
10+ entry : golangci-lint run --new
11+ types : [go]
12+ language : golang
13+ require_serial : true
14+ pass_filenames : false
15+ fail_fast : true
Original file line number Diff line number Diff line change @@ -104,12 +104,17 @@ fmt: gci addlicense
104104# Install golangci-lint if not available
105105golangci-lint :
106106ifeq (, $(shell which golangci-lint) )
107- @go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.54.2
107+ @go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.55.1
108108GOLANGCILINT =$(GOBIN ) /golangci-lint
109109else
110110GOLANGCILINT =$(shell which golangci-lint)
111111endif
112112
113+ # pre-commit install the pre-commit hook
114+ pre-commit :
115+ pip3 install pre-commit
116+ pre-commit install
117+
113118markdownlint :
114119ifeq (, $(shell which markdownlint) )
115120 @echo "markdownlint is not installed. Please install it: https://github.com/igorshubovych/markdownlint-cli# installation"
You can’t perform that action at this time.
0 commit comments