1616 - name : Install Go
1717 uses : actions/setup-go@v3
1818 with :
19- # Keep the following comment to be able to use rc and beta version of Go (ex: 1.18.0-rc.1).
2019 # 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
2223 go-version : ${{ env.GO_VERSION }}
2324 - name : Checkout code
2425 uses : actions/checkout@v3
3637 - name : Install Go
3738 uses : actions/setup-go@v3
3839 with :
39- # Keep the following comment to be able to use rc and beta version of Go (ex: 1.18.0-rc.1).
4040 # 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
4244# go-version: ${{ env.GO_VERSION }} # todo(ldez) uncomment after the next release v1.48.0
4345 go-version : 1.18
4446 - name : lint
5759 - name : Install Go
5860 uses : actions/setup-go@v3
5961 with :
60- # Keep the following comment to be able to use rc and beta version of Go (ex: 1.18.0-rc.1).
6162 # 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
6366 go-version : ${{ env.GO_VERSION }} # test only the latest go version to speed up CI
6467 - name : Run tests
6568 run : make.exe test
7376 - name : Install Go
7477 uses : actions/setup-go@v3
7578 with :
76- # Keep the following comment to be able to use rc and beta version of Go (ex: 1.18.0-rc.1).
7779 # 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
7983 go-version : ${{ env.GO_VERSION }} # test only the latest go version to speed up CI
8084 - name : Run tests
8185 run : make test
9397 - name : Install Go
9498 uses : actions/setup-go@v3
9599 with :
96- # Keep the following comment to be able to use rc and beta version of Go (ex: 1.18.0-rc.1).
97100 # 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
99104 go-version : ${{ matrix.golang }}
100105 - uses : actions/cache@v3
101106 with :
@@ -119,9 +124,10 @@ jobs:
119124 - name : Install Go
120125 uses : actions/setup-go@v3
121126 with :
122- # Keep the following comment to be able to use rc and beta version of Go (ex: 1.18.0-rc.1).
123127 # 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
125131 go-version : ${{ env.GO_VERSION }}
126132 - name : Check generated files are up to date
127133 run : make fast_check_generated
0 commit comments