From 434cb7b932673fd30767d6b7eb597603d881c4b7 Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Wed, 8 Apr 2026 22:40:25 +0530 Subject: [PATCH] chore (deps) : bump go version to v1.25.8 Signed-off-by: Rohan Kumar --- .ci/oci.Dockerfile | 6 +++--- .github/workflows/code-coverage.yml | 2 +- .github/workflows/pr.yml | 2 +- .github/workflows/release.yml | 2 +- build/Dockerfile | 2 +- go.mod | 2 +- project-clone/Dockerfile | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.ci/oci.Dockerfile b/.ci/oci.Dockerfile index a1a7e83ad..1e5e5d4f2 100644 --- a/.ci/oci.Dockerfile +++ b/.ci/oci.Dockerfile @@ -15,17 +15,17 @@ FROM registry.ci.openshift.org/openshift/release:rhel-9-release-golang-1.24-openshift-4.20 -ENV GO_VERSION=1.25.7 +ENV GO_VERSION=1.25.8 ENV GOROOT=/usr/local/go ENV PATH=$GOROOT/bin:$PATH -ENV GO_VERSION=1.25.7 +ENV GO_VERSION=1.25.8 ENV GOROOT=/usr/local/go ENV PATH=$GOROOT/bin:$PATH SHELL ["/bin/bash", "-c"] -# Install Go 1.25.7 to satisfy go.mod toolchain requirement (go 1.25.0) +# Install Go 1.25.8 to satisfy go.mod toolchain requirement (go 1.25.0) RUN export ARCH="$(uname -m)" && if [[ ${ARCH} == "x86_64" ]]; then export ARCH="amd64"; elif [[ ${ARCH} == "aarch64" ]]; then export ARCH="arm64"; fi && \ curl -fsSL "https://go.dev/dl/go${GO_VERSION}.linux-${ARCH}.tar.gz" -o go.tar.gz && \ rm -rf /usr/local/go && \ diff --git a/.github/workflows/code-coverage.yml b/.github/workflows/code-coverage.yml index 14c4888c0..5216a1a45 100644 --- a/.github/workflows/code-coverage.yml +++ b/.github/workflows/code-coverage.yml @@ -14,7 +14,7 @@ jobs: name: Set up Go 1.x uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 with: - go-version: 1.25.7 + go-version: 1.25.8 - name: Set up Python 3.11 uses: actions/setup-python@b64ffcaf5b410884ad320a9cfac8866006a109aa # v4.8.0 diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index b5c0b8386..044388dde 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -15,7 +15,7 @@ jobs: name: Set up Go 1.x uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 with: - go-version: 1.25.7 + go-version: 1.25.8 - name: Set up Python 3.11 uses: actions/setup-python@b64ffcaf5b410884ad320a9cfac8866006a109aa # v4.8.0 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 523e1b70f..74ce47bfe 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,7 +32,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 with: - go-version: 1.25.7 + go-version: 1.25.8 - name: Set up QEMU uses: docker/setup-qemu-action@2b82ce82d56a2a04d2637cd93a637ae1b359c0a7 #v2.2.0 diff --git a/build/Dockerfile b/build/Dockerfile index c67fe6704..b6fafc54e 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -16,7 +16,7 @@ # https://access.redhat.com/containers/?tab=tags#/registry.access.redhat.com/ubi9/go-toolset # Use BUILDPLATFORM to ensure the builder always runs natively on the host machine # Image pinned by SHA256 to address GitHub security bot warnings about unpinned dependencies -FROM --platform=$BUILDPLATFORM registry.access.redhat.com/ubi9/go-toolset:1.25.7-1771417345@sha256:799cc027d5ad58cdc156b65286eb6389993ec14c496cf748c09834b7251e78dc AS builder +FROM --platform=$BUILDPLATFORM registry.access.redhat.com/ubi9/go-toolset:1.25.8-1775651161@sha256:34b22cd0b8b0d270b7b1d6c376f7130b58ae575822e375cd947859c21fdced5f AS builder # Accept TARGETARCH and TARGETPLATFORM, which are automatically passed by the builder ARG TARGETARCH diff --git a/go.mod b/go.mod index f958b50df..5adaaf197 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,7 @@ module github.com/devfile/devworkspace-operator go 1.25.0 -toolchain go1.25.7 +toolchain go1.25.8 require ( github.com/devfile/api/v2 v2.3.1-alpha.0.20250521155908-5c3d7b99d252 diff --git a/project-clone/Dockerfile b/project-clone/Dockerfile index dcd6e9895..a2db0b8d9 100644 --- a/project-clone/Dockerfile +++ b/project-clone/Dockerfile @@ -16,7 +16,7 @@ # Build the manager binary # https://access.redhat.com/containers/?tab=tags#/registry.access.redhat.com/ubi9/go-toolset # Image pinned by SHA256 to address GitHub security bot warnings about unpinned dependencies -FROM registry.access.redhat.com/ubi9/go-toolset:1.25.7-1771417345@sha256:799cc027d5ad58cdc156b65286eb6389993ec14c496cf748c09834b7251e78dc as builder +FROM registry.access.redhat.com/ubi9/go-toolset:1.25.8-1775651161@sha256:34b22cd0b8b0d270b7b1d6c376f7130b58ae575822e375cd947859c21fdced5f as builder ARG TARGETARCH ARG TARGETOS ENV GOPATH=/go/