File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 6
6
pull_request :
7
7
branches : [ main ]
8
8
9
+ env :
10
+ GOLANGCI_LINT_VERSION : " v1.55.2"
11
+
9
12
jobs :
10
13
build :
11
14
strategy :
25
28
- name : Enforce standard format
26
29
27
30
with :
28
- version : v1.55.2
31
+ version : ${{ env.GOLANGCI_LINT_VERSION }}
29
32
args : --timeout 3m --enable=gofmt --verbose
30
33
- name : Test
31
34
run : go test --cover -v ./...
Original file line number Diff line number Diff line change 5
5
" schedule:weekly" ,
6
6
" :automergeStableNonMajor"
7
7
],
8
+ "customManagers" : [
9
+ {
10
+ "customType" : " regex" ,
11
+ "fileMatch" : [
12
+ " ^.github/(?:workflows|actions)/.+\\ .ya?ml$"
13
+ ],
14
+ "matchStrings" : [
15
+ " GOLANGCI_LINT_VERSION: \" (?<currentValue>.*?)\" "
16
+ ],
17
+ "depNameTemplate" : " github.com/golangci/golangci-lint" ,
18
+ "datasourceTemplate" : " go"
19
+ }
20
+ ],
8
21
"golang" : {
9
22
"packageRules" : [
10
23
{
You can’t perform that action at this time.
0 commit comments