2020 E2E_SETUP_KIND : yes
2121 E2E_SETUP_KUBECTL : yes
2222 SUDO : sudo
23- GO_VERSION : " 1.25.6"
2423 GOLANGCI_LINT_VERSION : " v2.8.0"
2524
2625jobs :
3433 - name : Set up Go 1.x
3534 uses : actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
3635 with :
37- go-version : ${{ env.GO_VERSION }}
36+ go-version-file : ' .go-version '
3837 id : go
3938
4039 - name : Lint
5251 - name : Set up Go 1.x
5352 uses : actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
5453 with :
55- go-version : ${{ env.GO_VERSION }}
54+ go-version-file : ' .go-version '
5655 id : go
5756
5857 - name : Validate generated manifests
6968 - name : Set up Go 1.x
7069 uses : actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
7170 with :
72- go-version : ${{ env.GO_VERSION }}
71+ go-version-file : ' .go-version '
7372 id : go
7473
7574 - name : Validate go modules
8685 - name : Set up Go 1.x
8786 uses : actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
8887 with :
89- go-version : ${{ env.GO_VERSION }}
88+ go-version-file : ' .go-version '
9089 id : go
9190
9291 - name : Check that all metrics are documented and templates have no delta
@@ -103,7 +102,7 @@ jobs:
103102 - name : Set up Go 1.x
104103 uses : actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
105104 with :
106- go-version : ${{ env.GO_VERSION }}
105+ go-version-file : ' .go-version '
107106 id : go
108107
109108 - name : Unit tests
@@ -135,7 +134,7 @@ jobs:
135134 - name : Set up Go 1.x
136135 uses : actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
137136 with :
138- go-version : ${{ env.GO_VERSION }}
137+ go-version-file : ' .go-version '
139138 id : go
140139
141140 - name : Benchmark tests
@@ -163,7 +162,7 @@ jobs:
163162 - name : Set up Go 1.x
164163 uses : actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
165164 with :
166- go-version : ${{ env.GO_VERSION }}
165+ go-version-file : ' .go-version '
167166 id : go
168167
169168 - name : Benchmark tests
@@ -191,7 +190,7 @@ jobs:
191190 - name : Set up Go 1.x
192191 uses : actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
193192 with :
194- go-version : ${{ env.GO_VERSION }}
193+ go-version-file : ' .go-version '
195194 id : go
196195
197196 - name : Build
@@ -208,7 +207,7 @@ jobs:
208207 - name : Set up Go 1.x
209208 uses : actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
210209 with :
211- go-version : ${{ env.GO_VERSION }}
210+ go-version-file : ' .go-version '
212211 id : go
213212
214213 - name : End-to-end tests
0 commit comments