Skip to content

Commit f51b62d

Browse files
Merge pull request #1094 from stakater/fix/bump-go-ver
Bump go version to 1.26
2 parents 8834ab0 + f776e2d commit f51b62d

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/loadtest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
- name: Set up Go
5555
uses: actions/setup-go@v5
5656
with:
57-
go-version: '1.25'
57+
go-version: '1.26'
5858
cache: false
5959

6060
- name: Set up Docker Buildx

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ARG BUILDER_IMAGE
22
ARG BASE_IMAGE
33

44
# Build the manager binary
5-
FROM --platform=${BUILDPLATFORM} ${BUILDER_IMAGE:-golang:1.25.5} AS builder
5+
FROM --platform=${BUILDPLATFORM} ${BUILDER_IMAGE:-golang:1.26} AS builder
66

77
ARG TARGETOS
88
ARG TARGETARCH

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/stakater/Reloader
22

3-
go 1.25.5
3+
go 1.26
44

55
require (
66
github.com/argoproj/argo-rollouts v1.8.3

internal/pkg/leadership/leadership_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func TestHealthz(t *testing.T) {
4545
want := 200
4646

4747
if got != want {
48-
t.Fatalf("got: %q, want: %q", got, want)
48+
t.Fatalf("got: %d, want: %d", got, want)
4949
}
5050

5151
// Have the liveness probe serve a 500
@@ -63,7 +63,7 @@ func TestHealthz(t *testing.T) {
6363
want = 500
6464

6565
if got != want {
66-
t.Fatalf("got: %q, want: %q", got, want)
66+
t.Fatalf("got: %d, want: %d", got, want)
6767
}
6868
}
6969

@@ -89,7 +89,7 @@ func TestRunLeaderElection(t *testing.T) {
8989
want := 500
9090

9191
if got != want {
92-
t.Fatalf("got: %q, want: %q", got, want)
92+
t.Fatalf("got: %d, want: %d", got, want)
9393
}
9494

9595
// Cancel the leader election context, so leadership is released and
@@ -108,7 +108,7 @@ func TestRunLeaderElection(t *testing.T) {
108108
want = 500
109109

110110
if got != want {
111-
t.Fatalf("got: %q, want: %q", got, want)
111+
t.Fatalf("got: %d, want: %d", got, want)
112112
}
113113
}
114114

test/loadtest/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/stakater/Reloader/test/loadtest
22

3-
go 1.25
3+
go 1.26
44

55
require (
66
github.com/spf13/cobra v1.8.1

0 commit comments

Comments
 (0)