6
6
pull_request :
7
7
8
8
env :
9
- GO_VERSION : 1.18
9
+ GO_VERSION : 1.19
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@v3
18
18
with :
19
- # stable: 'false' # Keep this line to be able to use rc and beta version of Go (ex: 1.18.0-rc1).
19
+ # Keep the following comment to be able to use rc and beta version of Go (ex: 1.18.0-rc.1).
20
+ # https://github.com/actions/setup-go#supported-version-syntax
21
+ # stable: 'false'
20
22
go-version : ${{ env.GO_VERSION }}
21
23
- name : Checkout code
22
24
uses : actions/checkout@v3
34
36
- name : Install Go
35
37
uses : actions/setup-go@v3
36
38
with :
37
- # stable: 'false' # Keep this line to be able to use rc and beta version of Go (ex: 1.18.0-rc1).
38
- go-version : ${{ env.GO_VERSION }}
39
+ # Keep the following comment to be able to use rc and beta version of Go (ex: 1.18.0-rc.1).
40
+ # https://github.com/actions/setup-go#supported-version-syntax
41
+ # stable: 'false'
42
+ # go-version: ${{ env.GO_VERSION }} # todo(ldez) uncomment after the next release v1.48.0
43
+ go-version : 1.18
39
44
- name : lint
40
45
41
46
with :
52
57
- name : Install Go
53
58
uses : actions/setup-go@v3
54
59
with :
55
- # stable: 'false' # Keep this line to be able to use rc and beta version of Go (ex: 1.18.0-rc1).
60
+ # Keep the following comment to be able to use rc and beta version of Go (ex: 1.18.0-rc.1).
61
+ # https://github.com/actions/setup-go#supported-version-syntax
62
+ # stable: 'false'
56
63
go-version : ${{ env.GO_VERSION }} # test only the latest go version to speed up CI
57
64
- name : Run tests
58
65
run : make.exe test
66
73
- name : Install Go
67
74
uses : actions/setup-go@v3
68
75
with :
69
- # stable: 'false' # Keep this line to be able to use rc and beta version of Go (ex: 1.18.0-rc1).
76
+ # Keep the following comment to be able to use rc and beta version of Go (ex: 1.18.0-rc.1).
77
+ # https://github.com/actions/setup-go#supported-version-syntax
78
+ # stable: 'false'
70
79
go-version : ${{ env.GO_VERSION }} # test only the latest go version to speed up CI
71
80
- name : Run tests
72
81
run : make test
@@ -77,14 +86,16 @@ jobs:
77
86
strategy :
78
87
matrix :
79
88
golang :
80
- - 1.17
81
89
- 1.18
90
+ - 1.19
82
91
steps :
83
92
- uses : actions/checkout@v3
84
93
- name : Install Go
85
94
uses : actions/setup-go@v3
86
95
with :
87
- # stable: 'false' # Keep this line to be able to use rc and beta version of Go (ex: 1.18.0-rc1).
96
+ # Keep the following comment to be able to use rc and beta version of Go (ex: 1.18.0-rc.1).
97
+ # https://github.com/actions/setup-go#supported-version-syntax
98
+ # stable: 'false'
88
99
go-version : ${{ matrix.golang }}
89
100
- uses : actions/cache@v3
90
101
with :
@@ -108,7 +119,9 @@ jobs:
108
119
- name : Install Go
109
120
uses : actions/setup-go@v3
110
121
with :
111
- # stable: 'false' # Keep this line to be able to use rc and beta version of Go (ex: 1.18.0-rc1).
122
+ # Keep the following comment to be able to use rc and beta version of Go (ex: 1.18.0-rc.1).
123
+ # https://github.com/actions/setup-go#supported-version-syntax
124
+ # stable: 'false'
112
125
go-version : ${{ env.GO_VERSION }}
113
126
- name : Check generated files are up to date
114
127
run : make fast_check_generated
0 commit comments