File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -13,13 +13,12 @@ jobs:
13
13
strategy :
14
14
matrix :
15
15
golang :
16
- - 1.12
17
16
- 1.13
18
17
- 1.14
19
18
steps :
20
19
- uses : actions/checkout@v2
21
20
- name : Install Go
22
- uses : actions/setup-go@v1
21
+ uses : actions/setup-go@v2
23
22
with :
24
23
go-version : ${{ matrix.golang }}
25
24
- name : Run tests on Windows
30
29
strategy :
31
30
matrix :
32
31
golang :
33
- - 1.12
34
32
- 1.13
35
33
- 1.14
36
34
os :
39
37
steps :
40
38
- uses : actions/checkout@v2
41
39
- name : Install Go
42
- uses : actions/setup-go@v1
40
+ uses : actions/setup-go@v2
43
41
with :
44
42
go-version : ${{ matrix.golang }}
43
+ - uses : actions/cache@v1
44
+ with :
45
+ path : ~/go/pkg/mod
46
+ key : ${{ runner.os }}-go-${{ matrix.golang }}-${{ hashFiles('**/go.sum') }}
47
+ restore-keys : |
48
+ ${{ runner.os }}-go-${{ matrix.golang }}-
45
49
- name : Run tests on Unix-like operating systems
46
50
run : make test
47
51
check_generated :
51
55
- name : Unshallow
52
56
run : git fetch --prune --unshallow
53
57
- name : Install Go
54
- uses : actions/setup-go@v1
58
+ uses : actions/setup-go@v2
55
59
with :
56
60
go-version : 1.14
57
61
- name : Check if README.md is up to date
You can’t perform that action at this time.
0 commit comments