Skip to content

Commit 060125c

Browse files
authored
chore: Update go 1.24.11 (#334)
* chore: Update go 1.24.11 Signed-off-by: Anatolii Bazko <abazko@redhat.com>
1 parent e76adce commit 060125c

5 files changed

Lines changed: 16 additions & 18 deletions

File tree

.github/workflows/license.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
name: License
1919
runs-on: ubuntu-22.04
2020
steps:
21-
- name: Set up Go 1.23
21+
- name: Set up Go 1.24
2222
uses: actions/setup-go@v3
2323
with:
24-
go-version: 1.23
24+
go-version: 1.24.11
2525
- name: Checkout repo
2626
uses: actions/checkout@v3
2727
- name: Check Eclipse license headers

api/jsonrpc/handlers.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func jsonRpcCreateExec(tunnel *jsonrpc.Tunnel, params interface{}, t jsonrpc.Res
5555
machineExec := params.(*model.MachineExec)
5656
err := setToken(tunnel, machineExec)
5757
if err != nil {
58-
logrus.Errorf(err.Error())
58+
logrus.Errorf("%s", err.Error())
5959
t.SendError(jsonrpc.NewArgsError(err))
6060
return
6161
}
@@ -107,7 +107,7 @@ func jsonRpcListContainersExec(tunnel *jsonrpc.Tunnel, _ interface{}, t jsonrpc.
107107
machineExec := &model.MachineExec{}
108108
err := setToken(tunnel, machineExec)
109109
if err != nil {
110-
logrus.Errorf(err.Error())
110+
logrus.Errorf("%s", err.Error())
111111
t.SendError(jsonrpc.NewArgsError(err))
112112
return
113113
}

build/dockerfiles/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# Dockerfile defines che-machine-exec production image eclipse/che-machine-exec-dev
1313
#
1414

15-
FROM docker.io/golang:1.23.8-alpine as go_builder
15+
FROM docker.io/golang:1.24.11-alpine as go_builder
1616

1717
ENV USER=machine-exec
1818
ENV UID=12345

go.mod

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

3-
go 1.23.0
4-
5-
toolchain go1.23.8
3+
go 1.24.11
64

75
replace (
86
cloud.google.com/go => cloud.google.com/go v0.54.0
@@ -165,14 +163,14 @@ replace (
165163

166164
require (
167165
github.com/eclipse/che-go-jsonrpc v0.0.0-20200317130110-931966b891fe
168-
github.com/gin-gonic/gin v1.10.0
166+
github.com/gin-gonic/gin v1.11.0
169167
github.com/gorilla/websocket v1.5.3
170168
github.com/pkg/errors v0.9.1
171-
github.com/sirupsen/logrus v1.9.3
172-
github.com/stretchr/testify v1.9.0
169+
github.com/sirupsen/logrus v1.9.4
170+
github.com/stretchr/testify v1.11.1
173171
gopkg.in/yaml.v2 v2.4.0
174-
k8s.io/api v0.31.1
175-
k8s.io/apimachinery v0.31.1
172+
k8s.io/api v0.35.0
173+
k8s.io/apimachinery v0.35.0
176174
k8s.io/client-go v1.5.2
177175
)
178176

vendor/modules.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ github.com/eclipse/che-go-jsonrpc/jsonrpcws
99
# github.com/gin-contrib/sse v0.1.0 => github.com/gin-contrib/sse v0.0.0-20170109093832-22d885f9ecc7
1010
## explicit
1111
github.com/gin-contrib/sse
12-
# github.com/gin-gonic/gin v1.10.0 => github.com/gin-gonic/gin v1.8.2
12+
# github.com/gin-gonic/gin v1.11.0 => github.com/gin-gonic/gin v1.8.2
1313
## explicit; go 1.18
1414
github.com/gin-gonic/gin
1515
github.com/gin-gonic/gin/binding
@@ -105,13 +105,13 @@ github.com/pkg/errors
105105
# github.com/pmezard/go-difflib v1.0.0 => github.com/pmezard/go-difflib v1.0.0
106106
## explicit
107107
github.com/pmezard/go-difflib/difflib
108-
# github.com/sirupsen/logrus v1.9.3 => github.com/sirupsen/logrus v1.4.2
108+
# github.com/sirupsen/logrus v1.9.4 => github.com/sirupsen/logrus v1.4.2
109109
## explicit
110110
github.com/sirupsen/logrus
111111
# github.com/stretchr/objx v0.2.0 => github.com/stretchr/objx v0.3.0
112112
## explicit; go 1.12
113113
github.com/stretchr/objx
114-
# github.com/stretchr/testify v1.9.0 => github.com/stretchr/testify v1.4.0
114+
# github.com/stretchr/testify v1.11.1 => github.com/stretchr/testify v1.4.0
115115
## explicit
116116
github.com/stretchr/testify/assert
117117
github.com/stretchr/testify/mock
@@ -203,7 +203,7 @@ gopkg.in/inf.v0
203203
# gopkg.in/yaml.v2 v2.4.0 => gopkg.in/yaml.v2 v2.4.0
204204
## explicit; go 1.15
205205
gopkg.in/yaml.v2
206-
# k8s.io/api v0.31.1 => k8s.io/api v0.21.0
206+
# k8s.io/api v0.35.0 => k8s.io/api v0.21.0
207207
## explicit; go 1.16
208208
k8s.io/api/admissionregistration/v1
209209
k8s.io/api/admissionregistration/v1beta1
@@ -248,7 +248,7 @@ k8s.io/api/scheduling/v1beta1
248248
k8s.io/api/storage/v1
249249
k8s.io/api/storage/v1alpha1
250250
k8s.io/api/storage/v1beta1
251-
# k8s.io/apimachinery v0.31.1 => k8s.io/apimachinery v0.21.0
251+
# k8s.io/apimachinery v0.35.0 => k8s.io/apimachinery v0.21.0
252252
## explicit; go 1.16
253253
k8s.io/apimachinery/pkg/api/errors
254254
k8s.io/apimachinery/pkg/api/meta

0 commit comments

Comments
 (0)