16
16
- name : Install Go
17
17
uses : actions/setup-go@v3
18
18
with :
19
- # Keep the following comment to be able to use rc and beta version of Go (ex: 1.18.0-rc.1).
20
19
# https://github.com/actions/setup-go#supported-version-syntax
21
- # stable: 'false'
20
+ # ex:
21
+ # - 1.18beta1 -> 1.18.0-beta.1
22
+ # - 1.18rc1 -> 1.18.0-rc.1
22
23
go-version : ${{ env.GO_VERSION }}
23
24
- name : Checkout code
24
25
uses : actions/checkout@v3
36
37
- name : Install Go
37
38
uses : actions/setup-go@v3
38
39
with :
39
- # Keep the following comment to be able to use rc and beta version of Go (ex: 1.18.0-rc.1).
40
40
# https://github.com/actions/setup-go#supported-version-syntax
41
- # stable: 'false'
41
+ # ex:
42
+ # - 1.18beta1 -> 1.18.0-beta.1
43
+ # - 1.18rc1 -> 1.18.0-rc.1
42
44
# go-version: ${{ env.GO_VERSION }} # todo(ldez) uncomment after the next release v1.48.0
43
45
go-version : 1.18
44
46
- name : lint
57
59
- name : Install Go
58
60
uses : actions/setup-go@v3
59
61
with :
60
- # Keep the following comment to be able to use rc and beta version of Go (ex: 1.18.0-rc.1).
61
62
# https://github.com/actions/setup-go#supported-version-syntax
62
- # stable: 'false'
63
+ # ex:
64
+ # - 1.18beta1 -> 1.18.0-beta.1
65
+ # - 1.18rc1 -> 1.18.0-rc.1
63
66
go-version : ${{ env.GO_VERSION }} # test only the latest go version to speed up CI
64
67
- name : Run tests
65
68
run : make.exe test
73
76
- name : Install Go
74
77
uses : actions/setup-go@v3
75
78
with :
76
- # Keep the following comment to be able to use rc and beta version of Go (ex: 1.18.0-rc.1).
77
79
# https://github.com/actions/setup-go#supported-version-syntax
78
- # stable: 'false'
80
+ # ex:
81
+ # - 1.18beta1 -> 1.18.0-beta.1
82
+ # - 1.18rc1 -> 1.18.0-rc.1
79
83
go-version : ${{ env.GO_VERSION }} # test only the latest go version to speed up CI
80
84
- name : Run tests
81
85
run : make test
93
97
- name : Install Go
94
98
uses : actions/setup-go@v3
95
99
with :
96
- # Keep the following comment to be able to use rc and beta version of Go (ex: 1.18.0-rc.1).
97
100
# https://github.com/actions/setup-go#supported-version-syntax
98
- # stable: 'false'
101
+ # ex:
102
+ # - 1.18beta1 -> 1.18.0-beta.1
103
+ # - 1.18rc1 -> 1.18.0-rc.1
99
104
go-version : ${{ matrix.golang }}
100
105
- uses : actions/cache@v3
101
106
with :
@@ -119,9 +124,10 @@ jobs:
119
124
- name : Install Go
120
125
uses : actions/setup-go@v3
121
126
with :
122
- # Keep the following comment to be able to use rc and beta version of Go (ex: 1.18.0-rc.1).
123
127
# https://github.com/actions/setup-go#supported-version-syntax
124
- # stable: 'false'
128
+ # ex:
129
+ # - 1.18beta1 -> 1.18.0-beta.1
130
+ # - 1.18rc1 -> 1.18.0-rc.1
125
131
go-version : ${{ env.GO_VERSION }}
126
132
- name : Check generated files are up to date
127
133
run : make fast_check_generated
0 commit comments