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 24
24
25
25
with :
26
26
only-new-issues : true
27
- version : v1.54.2
27
+ version : v1.55.1
28
28
args : --timeout=900s
29
29
30
30
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
104
104
# Install golangci-lint if not available
105
105
golangci-lint :
106
106
ifeq (, $(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
108
108
GOLANGCILINT =$(GOBIN ) /golangci-lint
109
109
else
110
110
GOLANGCILINT =$(shell which golangci-lint)
111
111
endif
112
112
113
+ # pre-commit install the pre-commit hook
114
+ pre-commit :
115
+ pip3 install pre-commit
116
+ pre-commit install
117
+
113
118
markdownlint :
114
119
ifeq (, $(shell which markdownlint) )
115
120
@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