Skip to content

Commit 7b1137f

Browse files
committed
Remove hardcoded golang version from github ci
Signed-off-by: Jannik Hollenbach <jannik.hollenbach@iteratec.com>
1 parent e3c9d92 commit 7b1137f

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ on:
1616
env:
1717
# ---- Language Versions ----
1818

19-
GO_VERSION: "1.24.5"
2019
PYTHON_VERSION: "3.13.5"
2120
KIND_NODE_IMAGE: "kindest/node:v1.33.1@sha256:050072256b9a903bd914c0b2866828150cb229cea0efe5892e2b644d5dd3b34f"
2221
KUBECTL_VERSION: "v1.33.2"
@@ -189,7 +188,7 @@ jobs:
189188
- name: Go Setup
190189
uses: actions/setup-go@v5
191190
with:
192-
go-version: ${{ env.GO_VERSION }}
191+
go-version-file: 'operator/go.mod'
193192

194193
- name: Lint Go Code
195194
working-directory: ./${{ matrix.component }}
@@ -228,7 +227,7 @@ jobs:
228227
- name: Go Setup
229228
uses: actions/setup-go@v5
230229
with:
231-
go-version: ${{ env.GO_VERSION }}
230+
go-version-file: 'auto-discovery/kubernetes/go.mod'
232231

233232
- name: Lint Go Code
234233
working-directory: ./auto-discovery/kubernetes
@@ -349,7 +348,7 @@ jobs:
349348
- name: Go Setup
350349
uses: actions/setup-go@v5
351350
with:
352-
go-version: ${{ env.GO_VERSION }}
351+
go-version-file: 'auto-discovery/cloud-aws/go.mod'
353352

354353
- name: Lint Go Code
355354
working-directory: ./auto-discovery/cloud-aws
@@ -730,7 +729,7 @@ jobs:
730729
- name: Set up Go
731730
uses: actions/setup-go@v5
732731
with:
733-
go-version: ${{ env.GO_VERSION }}
732+
go-version-file: 'scbctl/go.mod'
734733

735734
- name: Run tests
736735
working-directory: scbctl

0 commit comments

Comments
 (0)