File tree Expand file tree Collapse file tree 4 files changed +19
-6
lines changed Expand file tree Collapse file tree 4 files changed +19
-6
lines changed Original file line number Diff line number Diff line change 14
14
- name : Install Go
15
15
uses : actions/setup-go@v2
16
16
with :
17
- go-version : 1.17
17
+ stable : ' false'
18
+ go-version : 1.18.0-rc1
18
19
19
20
- name : Update GitHub action config
20
21
run : make assets/github-action-config.json
Original file line number Diff line number Diff line change 12
12
steps :
13
13
- uses : actions/checkout@v2
14
14
- uses : actions/setup-go@v2
15
+ with :
16
+ stable : ' false'
17
+ go-version : 1.18.0-rc1
15
18
- name : Run go list
16
19
run : go list -json -m all > go.list
17
20
- name : Nancy
Original file line number Diff line number Diff line change 6
6
pull_request :
7
7
8
8
env :
9
- GO_VERSION : 1.17
9
+ GO_VERSION : 1.18.0-rc1
10
10
11
11
jobs :
12
12
# Check if there any dirty change for go mod tidy
16
16
- name : Install Go
17
17
uses : actions/setup-go@v2
18
18
with :
19
+ stable : ' false'
19
20
go-version : ${{ env.GO_VERSION }}
20
21
- name : Checkout code
21
22
uses : actions/checkout@v2
33
34
- name : Install Go
34
35
uses : actions/setup-go@v2
35
36
with :
36
- go-version : ${{ env.GO_VERSION }}
37
+ go-version : 1.17 # TODO(ldez) the binary compile with go1.17 doesn't work on go1.18
38
+ # stable: 'false' # TODO(ldez) the binary compile with go1.17 doesn't work on go1.18
39
+ # go-version: ${{ env.GO_VERSION }} # TODO(ldez) the binary compile with go1.17 doesn't work on go1.18
37
40
- name : lint
38
41
39
42
with :
50
53
- name : Install Go
51
54
uses : actions/setup-go@v2
52
55
with :
56
+ stable : ' false'
53
57
go-version : ${{ env.GO_VERSION }} # test only the latest go version to speed up CI
54
58
- name : Run tests
55
59
run : make.exe test
63
67
- name : Install Go
64
68
uses : actions/setup-go@v2
65
69
with :
70
+ stable : ' false'
66
71
go-version : ${{ env.GO_VERSION }} # test only the latest go version to speed up CI
67
72
- name : Run tests
68
73
run : make test
@@ -73,13 +78,14 @@ jobs:
73
78
strategy :
74
79
matrix :
75
80
golang :
76
- - 1.16
77
81
- 1.17
82
+ - 1.18.0-rc1
78
83
steps :
79
84
- uses : actions/checkout@v2
80
85
- name : Install Go
81
86
uses : actions/setup-go@v2
82
87
with :
88
+ stable : ' false'
83
89
go-version : ${{ matrix.golang }}
84
90
85
91
with :
@@ -103,6 +109,7 @@ jobs:
103
109
- name : Install Go
104
110
uses : actions/setup-go@v2
105
111
with :
112
+ stable : ' false'
106
113
go-version : ${{ env.GO_VERSION }}
107
114
- name : Check generated files are up to date
108
115
run : make fast_check_generated
Original file line number Diff line number Diff line change 14
14
- name : Install Go
15
15
uses : actions/setup-go@v2
16
16
with :
17
- go-version : 1.17
17
+ stable : ' false'
18
+ go-version : 1.18.0-rc1
18
19
- name : Unshallow
19
20
run : git fetch --prune --unshallow
20
21
40
41
- name : Install Go
41
42
uses : actions/setup-go@v2
42
43
with :
43
- go-version : 1.17
44
+ stable : ' false'
45
+ go-version : 1.18.0-rc1
44
46
45
47
- name : Unshallow
46
48
run : git fetch --prune --unshallow
You can’t perform that action at this time.
0 commit comments