File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
on :
2
2
push :
3
3
branches :
4
- - master
4
+ - main
5
5
pull_request :
6
6
name : Lint
7
7
jobs :
8
8
golangci :
9
9
name : lint
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- - uses : actions/checkout@v2
12
+ - uses : actions/checkout@v3
13
13
- name : golangci-lint
14
- uses : golangci/golangci-lint-action@v2
14
+ uses : golangci/golangci-lint-action@v3.2.0
15
15
with :
16
- version : v1.30
16
+ version : v1.45.2
Original file line number Diff line number Diff line change 1
1
on :
2
2
push :
3
3
branches :
4
- - master
4
+ - main
5
5
pull_request :
6
6
name : Tests
7
7
jobs :
8
8
test :
9
9
strategy :
10
10
matrix :
11
- go-version : [1.14 .x, 1.15 .x]
11
+ go-version : [1.17 .x, 1.18 .x]
12
12
platform : [ubuntu-latest, macos-latest, windows-latest]
13
13
runs-on : ${{ matrix.platform }}
14
14
steps :
15
15
- name : Install Go
16
- uses : actions/setup-go@v1
16
+ uses : actions/setup-go@v3
17
17
with :
18
18
go-version : ${{ matrix.go-version }}
19
19
- name : Checkout code
20
- uses : actions/checkout@v2
20
+ uses : actions/checkout@v3
21
21
- name : Test
22
22
run : |
23
23
go version
You can’t perform that action at this time.
0 commit comments