From cfa4122e3cfa0720a508782805e00f83284a7983 Mon Sep 17 00:00:00 2001 From: zhouzhuojie Date: Tue, 10 Feb 2026 21:23:41 +0000 Subject: [PATCH] chore(deps): upgrade Go from 1.25.2 to 1.26 --- .github/workflows/ci.yml | 3 +-- Dockerfile | 3 +-- go.mod | 2 +- integration_tests/Dockerfile-Integration-Test | 3 +-- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d9583df19..c8dd6872e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,12 +10,11 @@ jobs: runs-on: ubuntu-latest env: CGO_ENABLED: 0 - GOEXPERIMENT: greenteagc steps: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.25.2 + go-version: 1.26 - name: Check out source code uses: actions/checkout@v4 - run: echo "$(go env GOPATH)/bin" >> "$GITHUB_PATH" diff --git a/Dockerfile b/Dockerfile index b29a8f261..12072f2c5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,13 +11,12 @@ RUN make build_ui ###################################### # Prepare go_builder ###################################### -FROM golang:1.25.2-alpine as go_builder +FROM golang:1.26-alpine as go_builder WORKDIR /go/src/github.com/openflagr/flagr RUN apk add --no-cache git make build-base ADD . . ENV CGO_ENABLED=0 -ENV GOEXPERIMENT=greenteagc RUN make build FROM alpine diff --git a/go.mod b/go.mod index 52e1c15bc..12586478a 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/openflagr/flagr -go 1.25.2 +go 1.26 require ( cloud.google.com/go v0.123.0 // indirect diff --git a/integration_tests/Dockerfile-Integration-Test b/integration_tests/Dockerfile-Integration-Test index 73648a78c..793c51d58 100644 --- a/integration_tests/Dockerfile-Integration-Test +++ b/integration_tests/Dockerfile-Integration-Test @@ -1,9 +1,8 @@ -FROM golang:1.25.2-alpine as go_builder +FROM golang:1.26-alpine as go_builder WORKDIR /go/src/github.com/openflagr/flagr RUN apk add --no-cache git make build-base ADD . . ENV CGO_ENABLED=0 -ENV GOEXPERIMENT=greenteagc RUN make build FROM alpine