Skip to content

Commit 764c8e8

Browse files
authored
chore: Update go 1.25.5 (#2079)
* chore: Update go 1.25.5 Signed-off-by: Anatolii Bazko <[email protected]>
1 parent 17db6b6 commit 764c8e8

File tree

7 files changed

+19
-22
lines changed

7 files changed

+19
-22
lines changed

.devfile.Dockerfile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
FROM quay.io/devfile/universal-developer-image:ubi8-latest
22

3-
#install Go 1.24.7
4-
RUN cd /tmp && wget https://go.dev/dl/go1.24.7.linux-amd64.tar.gz && \
5-
mkdir $HOME/go1.24.7 && \
6-
tar -xvzf go1.24.7.linux-amd64.tar.gz -C $HOME/go1.24.7 --strip-components 1 && \
3+
RUN cd /tmp && wget https://go.dev/dl/go1.25.5.linux-amd64.tar.gz && \
4+
mkdir $HOME/go1.25.5 && \
5+
tar -xvzf go1.25.5.linux-amd64.tar.gz -C $HOME/go1.25.5 --strip-components 1 && \
76
if ! grep -q "export PATH=\$HOME/go1.19/bin:\$PATH" $HOME/.bashrc; then echo "export PATH=\$HOME/go1.24.7/bin:\$PATH" >> $HOME/.bashrc; fi
87

98
# install chectl
@@ -14,4 +13,4 @@ RUN tag=$(curl https://api.github.com/repos/che-incubator/chectl/tags | jq -r '.
1413
if ! grep -q "export PATH=\$HOME/chectl/bin:\$PATH" $HOME/.bashrc; then echo "export PATH=\$HOME/chectl/bin:\$PATH" >> $HOME/.bashrc; fi
1514

1615
# install goimports
17-
RUN $HOME/go1.24.7/bin/go install golang.org/x/tools/cmd/goimports@latest
16+
RUN $HOME/go1.25.5/bin/go install golang.org/x/tools/cmd/goimports@latest

.github/workflows/codecov.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
steps:
2525
- name: Checkout
2626
uses: actions/checkout@v4
27-
- name: Set up Go 1.23.8
27+
- name: Set up Go 1.25.5
2828
uses: actions/setup-go@v3
2929
with:
30-
go-version: 1.23.8
30+
go-version: 1.25.5
3131
- name: Run unit tests
3232
run: make test
3333
- name: Build Codecov report

.github/workflows/pr-check.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
steps:
1919
- name: Checkout source code
2020
uses: actions/checkout@v4
21-
- name: Set up Go 1.23.8
21+
- name: Set up Go 1.25.5
2222
uses: actions/setup-go@v3
2323
with:
24-
go-version: 1.23.8
24+
go-version: 1.25.5
2525
- name: Run unit tests
2626
run: make test
2727
multiplatform-image-build:
@@ -47,10 +47,10 @@ jobs:
4747
steps:
4848
- name: Checkout source code
4949
uses: actions/checkout@v4
50-
- name: Set up Go 1.23.8
50+
- name: Set up Go 1.25.5
5151
uses: actions/setup-go@v3
5252
with:
53-
go-version: 1.23.8
53+
go-version: 1.25.5
5454
- name: Cache go modules
5555
id: cache-mod
5656
uses: actions/cache@v3

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ jobs:
7272
sudo chmod +x /usr/local/bin/base32
7373
#remove base32 from current directory to avoid it being commited during release
7474
rm $(pwd)/base32
75-
- name: Set up Go 1.23.8
75+
- name: Set up Go 1.25.5
7676
uses: actions/setup-go@v3
7777
with:
78-
go-version: 1.23.8
78+
go-version: 1.25.5
7979
- name: Release operator
8080
env:
8181
IMAGE_REGISTRY_HOST: quay.io

.github/workflows/resources-check-main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323
uses: actions/checkout@v4
2424
- name: Install yq
2525
run: sudo pip install yq
26-
- name: Set up Go 1.23.8
26+
- name: Set up Go 1.25.5
2727
uses: actions/setup-go@v3
2828
with:
29-
go-version: 1.23.8
29+
go-version: 1.25.5
3030
- name: Validate operator resources
3131
run: |
3232
go install golang.org/x/tools/cmd/goimports@latest
@@ -38,9 +38,9 @@ jobs:
3838
uses: actions/checkout@v4
3939
- name: Install yq
4040
run: sudo pip install yq
41-
- name: Set up Go 1.23.8
41+
- name: Set up Go 1.25.5
4242
uses: actions/setup-go@v3
4343
with:
44-
go-version: 1.23.8
44+
go-version: 1.25.5
4545
- name: Validate OLM bundle version
4646
run: ${GITHUB_WORKSPACE}/build/scripts/check-bundle-version.sh

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
#
1111

1212
# https://registry.access.redhat.com/ubi8
13-
FROM registry.access.redhat.com/ubi8:8.10-1184.1741863532 as builder
13+
FROM registry.access.redhat.com/ubi8:8.10-1304.1751400627 as builder
1414
ENV GOPATH=/go
1515
ENV CGO_ENABLED=1
1616
ARG DEV_HEADER_REWRITE_TRAEFIK_PLUGIN="main"
1717
ARG SKIP_TESTS="false"
1818
USER root
1919

2020
### Start installing go
21-
ENV GO_VERSION=1.24.7
21+
ENV GO_VERSION=1.25.5
2222
ENV GOROOT=/usr/local/go
2323
ENV PATH=$PATH:$GOROOT/bin
2424
RUN dnf install unzip gcc -y

go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module github.com/eclipse-che/che-operator
22

3-
go 1.24.0
4-
5-
toolchain go1.24.4
3+
go 1.25.5
64

75
require (
86
github.com/che-incubator/kubernetes-image-puller-operator v0.0.0-20250214104625-65e5ec32f521

0 commit comments

Comments
 (0)