66 pull_request :
77
88env :
9- GO_VERSION : 1.18
9+ GO_VERSION : 1.19
1010
1111jobs :
1212 # Check if there any dirty change for go mod tidy
1616 - name : Install Go
1717 uses : actions/setup-go@v3
1818 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'
2022 go-version : ${{ env.GO_VERSION }}
2123 - name : Checkout code
2224 uses : actions/checkout@v3
3436 - name : Install Go
3537 uses : actions/setup-go@v3
3638 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
3944 - name : lint
4045 uses : golangci/golangci-lint-action@v3.2.0
4146 with :
5257 - name : Install Go
5358 uses : actions/setup-go@v3
5459 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'
5663 go-version : ${{ env.GO_VERSION }} # test only the latest go version to speed up CI
5764 - name : Run tests
5865 run : make.exe test
6673 - name : Install Go
6774 uses : actions/setup-go@v3
6875 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'
7079 go-version : ${{ env.GO_VERSION }} # test only the latest go version to speed up CI
7180 - name : Run tests
7281 run : make test
@@ -77,14 +86,16 @@ jobs:
7786 strategy :
7887 matrix :
7988 golang :
80- - 1.17
8189 - 1.18
90+ - 1.19
8291 steps :
8392 - uses : actions/checkout@v3
8493 - name : Install Go
8594 uses : actions/setup-go@v3
8695 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'
8899 go-version : ${{ matrix.golang }}
89100 - uses : actions/cache@v3
90101 with :
@@ -108,7 +119,9 @@ jobs:
108119 - name : Install Go
109120 uses : actions/setup-go@v3
110121 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'
112125 go-version : ${{ env.GO_VERSION }}
113126 - name : Check generated files are up to date
114127 run : make fast_check_generated
0 commit comments