diff --git a/.ci/oci.Dockerfile b/.ci/oci.Dockerfile index efd5de466..2cc6ae37c 100644 --- a/.ci/oci.Dockerfile +++ b/.ci/oci.Dockerfile @@ -13,7 +13,7 @@ # limitations under the License. # -FROM registry.ci.openshift.org/openshift/release:rhel-9-release-golang-1.24-openshift-4.20 +FROM registry.ci.openshift.org/openshift/release:rhel-9-release-golang-1.25-openshift-4.20 SHELL ["/bin/bash", "-c"] diff --git a/.github/workflows/code-coverage.yml b/.github/workflows/code-coverage.yml index b92dc609f..a4d428c6d 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.24.6 + go-version: 1.25.3 - 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 df77e3725..3216c9901 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.24.6 + go-version: 1.25.3 - 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 e3d2e1bf1..8a83d4359 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.23.6 + go-version: 1.25.3 - name: Set up QEMU uses: docker/setup-qemu-action@2b82ce82d56a2a04d2637cd93a637ae1b359c0a7 #v2.2.0 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d0ab47bb3..bbc91f4b0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -46,7 +46,7 @@ Detailed instructions regarding the DevWorkspace Operator development are provid To build, test and debug the DevWorkspace Operator the following development tools are required: -- go 1.16 or later +- go 1.25 or later - git - sed - jq diff --git a/build/Dockerfile b/build/Dockerfile index 1188698ef..635512de2 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -15,7 +15,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 -FROM --platform=$BUILDPLATFORM registry.access.redhat.com/ubi9/go-toolset:1.24.6-1758501173 AS builder +FROM --platform=$BUILDPLATFORM registry.access.redhat.com/ubi9/go-toolset:1.25.3-1768393489 AS builder # Accept TARGETARCH and TARGETPLATFORM, which are automatically passed by the builder ARG TARGETARCH diff --git a/go.mod b/go.mod index 30aac5fa1..591d86bf8 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,8 @@ module github.com/devfile/devworkspace-operator -go 1.24.0 +go 1.25.0 -toolchain go1.24.6 +toolchain go1.25.3 require ( github.com/devfile/api/v2 v2.3.1-alpha.0.20250521155908-5c3d7b99d252 diff --git a/project-clone/Dockerfile b/project-clone/Dockerfile index c8085887a..ec17803ab 100644 --- a/project-clone/Dockerfile +++ b/project-clone/Dockerfile @@ -15,7 +15,7 @@ # Build the manager binary # https://access.redhat.com/containers/?tab=tags#/registry.access.redhat.com/ubi9/go-toolset -FROM registry.access.redhat.com/ubi9/go-toolset:1.24.6-1758501173 as builder +FROM registry.access.redhat.com/ubi9/go-toolset:1.25.3-1768393489 as builder ARG TARGETARCH ARG TARGETOS ENV GOPATH=/go/