Skip to content

Commit 669c6f7

Browse files
authored
chore: Update go v1.25.7 (#2091)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
1 parent 4d61925 commit 669c6f7

File tree

7 files changed

+20
-19
lines changed

7 files changed

+20
-19
lines changed

.devfile.Dockerfile

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

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 && \
6-
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
3+
ENV GO_VERSION=1.25.7
4+
RUN cd /tmp && wget https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz && \
5+
mkdir $HOME/go${GO_VERSION} && \
6+
tar -xvzf go${GO_VERSION}.linux-amd64.tar.gz -C $HOME/go${GO_VERSION} --strip-components 1 && \
7+
if ! grep -q "export PATH=\$HOME/go${GO_VERSION}/bin:\$PATH" $HOME/.bashrc; then echo "export PATH=\$HOME/go${GO_VERSION}/bin:\$PATH" >> $HOME/.bashrc; fi
78

89
# install chectl
910
RUN tag=$(curl https://api.github.com/repos/che-incubator/chectl/tags | jq -r '.[0].name') && \
@@ -13,4 +14,4 @@ RUN tag=$(curl https://api.github.com/repos/che-incubator/chectl/tags | jq -r '.
1314
if ! grep -q "export PATH=\$HOME/chectl/bin:\$PATH" $HOME/.bashrc; then echo "export PATH=\$HOME/chectl/bin:\$PATH" >> $HOME/.bashrc; fi
1415

1516
# install goimports
16-
RUN $HOME/go1.25.5/bin/go install golang.org/x/tools/cmd/goimports@latest
17+
RUN $HOME/go${GO_VERSION}/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.25.5
27+
- name: Set up Go 1.25.7
2828
uses: actions/setup-go@v3
2929
with:
30-
go-version: 1.25.5
30+
go-version: 1.25.7
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.25.5
21+
- name: Set up Go 1.25.7
2222
uses: actions/setup-go@v3
2323
with:
24-
go-version: 1.25.5
24+
go-version: 1.25.7
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.25.5
50+
- name: Set up Go 1.25.7
5151
uses: actions/setup-go@v3
5252
with:
53-
go-version: 1.25.5
53+
go-version: 1.25.7
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.25.5
75+
- name: Set up Go 1.25.7
7676
uses: actions/setup-go@v3
7777
with:
78-
go-version: 1.25.5
78+
go-version: 1.25.7
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.25.5
26+
- name: Set up Go 1.25.7
2727
uses: actions/setup-go@v3
2828
with:
29-
go-version: 1.25.5
29+
go-version: 1.25.7
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.25.5
41+
- name: Set up Go 1.25.7
4242
uses: actions/setup-go@v3
4343
with:
44-
go-version: 1.25.5
44+
go-version: 1.25.7
4545
- name: Validate OLM bundle version
4646
run: ${GITHUB_WORKSPACE}/build/scripts/check-bundle-version.sh

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ARG SKIP_TESTS="false"
1818
USER root
1919

2020
### Start installing go
21-
ENV GO_VERSION=1.25.5
21+
ENV GO_VERSION=1.25.7
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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/eclipse-che/che-operator
22

3-
go 1.25.5
3+
go 1.25
44

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

0 commit comments

Comments
 (0)