@@ -16,22 +16,22 @@ jobs:
16
16
runs-on : ubuntu-latest
17
17
steps :
18
18
- name : Checkout Code
19
- uses : actions/checkout@v2
19
+ uses : actions/checkout@v3
20
20
21
21
- name : Set up Go
22
- uses : actions/setup-go@v2
22
+ uses : actions/setup-go@v3
23
23
with :
24
24
go-version : 1.19.x
25
25
26
26
- name : Cache
27
- uses : actions/cache@v2
27
+ uses : actions/cache@v3
28
28
with :
29
29
path : |
30
30
~/.cache/go-build
31
31
~/go/pkg/mod
32
32
key : cache-go-${{ runner.os }}-1.15.x-${{ github.run_number }}
33
33
restore-keys : |
34
- cache-go-${{ runner.os}}-1.15 .x-
34
+ cache-go-${{ runner.os}}-1.19 .x-
35
35
36
36
- name : Build
37
37
run : make build-all
@@ -52,20 +52,20 @@ jobs:
52
52
GO111MODULE : on
53
53
strategy :
54
54
matrix :
55
- os : [ ubuntu-latest, macos-latest , windows-latest ]
56
- go-version : [ 1.16.x, 1.17.x, 1.18.x, 1.19.x]
55
+ os : [ubuntu-latest, macos-12 , windows-latest]
56
+ go-version : [1.17.x, 1.18.x, 1.19.x]
57
57
runs-on : ${{ matrix.os }}
58
58
steps :
59
59
- name : Checkout Code
60
- uses : actions/checkout@v2
60
+ uses : actions/checkout@v3
61
61
62
62
- name : Set up Go ${{ matrix.go-version}}
63
- uses : actions/setup-go@v2
63
+ uses : actions/setup-go@v3
64
64
with :
65
65
go-version : ${{ matrix.go-version}}
66
66
67
67
- name : Cache
68
- uses : actions/cache@v2
68
+ uses : actions/cache@v3
69
69
with :
70
70
path : |
71
71
~/.cache/go-build
80
80
run : make test-v
81
81
82
82
- name : Upload coverage
83
- uses : codecov/codecov-action@v1
83
+ uses : codecov/codecov-action@v3
84
84
with :
85
85
token : ${{ secrets.CODECOV_TOKEN }}
86
86
files : .testCoverage.txt
0 commit comments