Skip to content

Commit ec0466b

Browse files
committed
fix(ci): update Go version to 1.25 in Dockerfile and CI workflow
go.mod requires go >= 1.25.5, align Dockerfile and GitHub Actions. Signed-off-by: Pavan Madduri <pavan4devops@gmail.com> Signed-off-by: pmady <pavan4devops@gmail.com>
1 parent 074ff8c commit ec0466b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set up Go
1919
uses: actions/setup-go@v5
2020
with:
21-
go-version: '1.23'
21+
go-version: '1.25'
2222

2323
- name: Build
2424
run: CGO_ENABLED=1 go build -v ./cmd/keda-gpu-scaler/
@@ -34,7 +34,7 @@ jobs:
3434
- name: Set up Go
3535
uses: actions/setup-go@v5
3636
with:
37-
go-version: '1.23'
37+
go-version: '1.25'
3838

3939
- name: golangci-lint
4040
uses: golangci/golangci-lint-action@v7

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build stage
2-
FROM golang:1.23-bookworm AS builder
2+
FROM golang:1.25-bookworm AS builder
33

44
# Install build dependencies for CGO (required by go-nvml)
55
RUN apt-get update && apt-get install -y --no-install-recommends \

0 commit comments

Comments
 (0)