diff --git a/.github/workflows/loadtest.yml b/.github/workflows/loadtest.yml index c997e13..dbe5d9c 100644 --- a/.github/workflows/loadtest.yml +++ b/.github/workflows/loadtest.yml @@ -54,7 +54,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.25' + go-version: '1.26' cache: false - name: Set up Docker Buildx diff --git a/Dockerfile b/Dockerfile index 67a6a53..e76b396 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ ARG BUILDER_IMAGE ARG BASE_IMAGE # Build the manager binary -FROM --platform=${BUILDPLATFORM} ${BUILDER_IMAGE:-golang:1.25.5} AS builder +FROM --platform=${BUILDPLATFORM} ${BUILDER_IMAGE:-golang:1.26} AS builder ARG TARGETOS ARG TARGETARCH diff --git a/go.mod b/go.mod index f2200fd..9e57e3e 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/stakater/Reloader -go 1.25.5 +go 1.26 require ( github.com/argoproj/argo-rollouts v1.8.3 diff --git a/internal/pkg/leadership/leadership_test.go b/internal/pkg/leadership/leadership_test.go index eed0705..dc55522 100644 --- a/internal/pkg/leadership/leadership_test.go +++ b/internal/pkg/leadership/leadership_test.go @@ -45,7 +45,7 @@ func TestHealthz(t *testing.T) { want := 200 if got != want { - t.Fatalf("got: %q, want: %q", got, want) + t.Fatalf("got: %d, want: %d", got, want) } // Have the liveness probe serve a 500 @@ -63,7 +63,7 @@ func TestHealthz(t *testing.T) { want = 500 if got != want { - t.Fatalf("got: %q, want: %q", got, want) + t.Fatalf("got: %d, want: %d", got, want) } } @@ -89,7 +89,7 @@ func TestRunLeaderElection(t *testing.T) { want := 500 if got != want { - t.Fatalf("got: %q, want: %q", got, want) + t.Fatalf("got: %d, want: %d", got, want) } // Cancel the leader election context, so leadership is released and @@ -108,7 +108,7 @@ func TestRunLeaderElection(t *testing.T) { want = 500 if got != want { - t.Fatalf("got: %q, want: %q", got, want) + t.Fatalf("got: %d, want: %d", got, want) } } diff --git a/test/loadtest/go.mod b/test/loadtest/go.mod index e96ed76..08230ca 100644 --- a/test/loadtest/go.mod +++ b/test/loadtest/go.mod @@ -1,6 +1,6 @@ module github.com/stakater/Reloader/test/loadtest -go 1.25 +go 1.26 require ( github.com/spf13/cobra v1.8.1