File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 5
5
runs-on : ubuntu-latest
6
6
steps :
7
7
- name : Install Go
8
- uses : actions/setup-go@v2
8
+ uses : actions/setup-go@v4
9
9
with :
10
- go-version : 1.19 .x
10
+ go-version : 1.20 .x
11
11
12
12
- name : Install tools
13
13
run : |
14
14
go install golang.org/x/tools/cmd/goimports@latest
15
15
go install honnef.co/go/tools/cmd/staticcheck@latest
16
16
17
17
- name : Checkout code
18
- uses : actions/checkout@v2
18
+ uses : actions/checkout@v3
19
19
20
- - uses : actions/cache@v2
20
+ - uses : actions/cache@v3
21
21
with :
22
22
path : ~/go/pkg/mod
23
23
key : ${{ runner.os }}-build-${{ hashFiles('**/go.sum') }}
@@ -36,19 +36,19 @@ jobs:
36
36
test :
37
37
strategy :
38
38
matrix :
39
- go : ['1.17 ', '1.18 ', '1.19 ']
39
+ go : ['1.18 ', '1.19 ', '1.20 ']
40
40
name : test @ Go ${{ matrix.go }}
41
41
runs-on : ubuntu-latest
42
42
steps :
43
43
- name : Install Go
44
- uses : actions/setup-go@v2
44
+ uses : actions/setup-go@v4
45
45
with :
46
46
go-version : ${{ matrix.go }}
47
47
48
48
- name : Checkout code
49
- uses : actions/checkout@v2
49
+ uses : actions/checkout@v3
50
50
51
- - uses : actions/cache@v2
51
+ - uses : actions/cache@v3
52
52
with :
53
53
path : ~/go/pkg/mod
54
54
key : ${{ runner.os }}-build-${{ hashFiles('**/go.sum') }}
You can’t perform that action at this time.
0 commit comments