File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: golangci-lint
2
2
on :
3
3
push :
4
4
tags :
5
- - v *
5
+ - v2 *
6
6
branches :
7
7
- master
8
8
- main
@@ -11,25 +11,28 @@ jobs:
11
11
golangci :
12
12
name : lint
13
13
strategy :
14
+ fail-fast : false
14
15
matrix :
15
16
go-version : [
16
17
1.17.x,
17
- # 1.18.x
18
+ 1.18.x,
19
+ 1.19.x
18
20
]
19
21
os : [ubuntu-latest]
20
22
runs-on : ${{ matrix.os }}
21
23
steps :
24
+ - name : Checkout code
25
+ uses : actions/checkout@v3
22
26
- name : Install Go
23
27
uses : actions/setup-go@v4
24
28
with :
25
29
go-version : ${{ matrix.go-version }}
26
- - name : Checkout code
27
- uses : actions/checkout@v3
28
30
- name : golangci-lint
29
31
uses : golangci/golangci-lint-action@v3
30
32
with :
31
33
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
32
- version : v1.29
34
+ # version: v1.29
35
+ version : v1.53
33
36
34
37
# Optional: working directory, useful for monorepos
35
38
# working-directory: somedir
You can’t perform that action at this time.
0 commit comments