Skip to content

Commit 77a460d

Browse files
authored
chore: Bump go.work to v1.24.0 (#70)
* bump go.work to v1.24.0 * bump go to 1.v24 * remove deprecated rand.seed
1 parent dcfa957 commit 77a460d

File tree

13 files changed

+162
-284
lines changed

13 files changed

+162
-284
lines changed

.github/workflows/e2e-conformance.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
# Install and setup go
17-
- name: Set up Go 1.23
17+
- name: Set up Go 1.24
1818
uses: actions/setup-go@v6
1919
with:
20-
go-version: '1.23'
20+
go-version: '1.24'
2121

2222
- name: checkout interchaintest
2323
uses: actions/checkout@v5

.github/workflows/e2e-cosmos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
# Install and setup go
17-
- name: Set up Go 1.23
17+
- name: Set up Go 1.24
1818
uses: actions/setup-go@v6
1919
with:
20-
go-version: '1.23'
20+
go-version: '1.24'
2121
cache: false
2222

2323
- name: checkout interchaintest

.github/workflows/e2e-ibc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
# Install and setup go
17-
- name: Set up Go 1.23
17+
- name: Set up Go 1.24
1818
uses: actions/setup-go@v6
1919
with:
20-
go-version: '1.23'
20+
go-version: '1.24'
2121
cache: false
2222

2323
- name: checkout interchaintest

.github/workflows/local-interchain.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ concurrency:
99
cancel-in-progress: true
1010

1111
env:
12-
GO_VERSION: 1.23
12+
GO_VERSION: 1.24
1313
NODE_JS_VERSION: v21.x
1414

1515
jobs:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
types: [created]
66

77
env:
8-
GO_VERSION: 1.23
8+
GO_VERSION: 1.24
99

1010
jobs:
1111
release-static-binary:

.github/workflows/strangelove-project-management.yaml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/workflows/unit-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
# Install and setup go
17-
- name: Set up Go 1.23
17+
- name: Set up Go 1.24
1818
uses: actions/setup-go@v6
1919
with:
20-
go-version: '1.23'
20+
go-version: '1.24'
2121

2222
- name: checkout interchaintest
2323
uses: actions/checkout@v5

dockerutil/strings_test.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package dockerutil
22

33
import (
4-
"math/rand"
54
"testing"
65

76
"github.com/docker/docker/api/types"
@@ -53,11 +52,13 @@ func TestGetHostPort(t *testing.T) {
5352
func TestRandLowerCaseLetterString(t *testing.T) {
5453
require.Empty(t, RandLowerCaseLetterString(0))
5554

56-
rand.Seed(1) // nolint:staticcheck
57-
require.Equal(t, "xvlbzgbaicmr", RandLowerCaseLetterString(12))
55+
result12 := RandLowerCaseLetterString(12)
56+
require.Len(t, result12, 12)
57+
require.Regexp(t, "^[a-z]+$", result12)
5858

59-
rand.Seed(1) // nolint:staticcheck
60-
require.Equal(t, "xvlbzgbaicmrajwwhthctcuaxhxkqf", RandLowerCaseLetterString(30))
59+
result30 := RandLowerCaseLetterString(30)
60+
require.Len(t, result30, 30)
61+
require.Regexp(t, "^[a-z]+$", result30)
6162
}
6263

6364
func TestCondenseHostName(t *testing.T) {

go.mod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,11 +254,13 @@ require (
254254
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.58.0 // indirect
255255
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.59.0 // indirect
256256
go.opentelemetry.io/otel v1.37.0 // indirect
257+
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.36.0 // indirect
257258
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.34.0 // indirect
258259
go.opentelemetry.io/otel/metric v1.37.0 // indirect
259260
go.opentelemetry.io/otel/sdk v1.37.0 // indirect
260261
go.opentelemetry.io/otel/sdk/metric v1.37.0 // indirect
261262
go.opentelemetry.io/otel/trace v1.37.0 // indirect
263+
go.opentelemetry.io/proto/otlp v1.6.0 // indirect
262264
go.uber.org/mock v0.5.2 // indirect
263265
go.yaml.in/yaml/v2 v2.4.2 // indirect
264266
golang.org/x/arch v0.17.0 // indirect

go.sum

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1205,8 +1205,7 @@ github.com/grpc-ecosystem/grpc-gateway v1.16.0 h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4
12051205
github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw=
12061206
github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0/go.mod h1:hgWBS7lorOAVIJEQMi4ZsPv9hVvWI6+ch50m39Pf2Ks=
12071207
github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3/go.mod h1:o//XUCC/F+yRGJoPO/VU0GSB0f8Nhgmxx0VIRUvaC0w=
1208-
github.com/grpc-ecosystem/grpc-gateway/v2 v2.25.1 h1:VNqngBF40hVlDloBruUehVYC3ArSgIyScOAyMRqBxRg=
1209-
github.com/grpc-ecosystem/grpc-gateway/v2 v2.25.1/go.mod h1:RBRO7fro65R6tjKzYgLAFo0t1QEXY1Dp+i/bvpRiqiQ=
1208+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.26.3 h1:5ZPtiqj0JL5oKWmcsq4VMaAW5ukBEgSGXEN89zeH1Jo=
12101209
github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c h1:6rhixN/i8ZofjG1Y75iExal34USq5p+wiN1tpie8IrU=
12111210
github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c/go.mod h1:NMPJylDgVpX0MLRlPy15sqSwOFv/U1GZ2m21JhFfek0=
12121211
github.com/hashicorp/consul/api v1.3.0/go.mod h1:MmDNSzIMUjNpY/mQ398R4bk2FnqQLoPndWW5VkKPlCE=
@@ -1736,8 +1735,7 @@ go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.59.0 h1:CV7UdSG
17361735
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.59.0/go.mod h1:FRmFuRJfag1IZ2dPkHnEoSFVgTVPUd2qf5Vi69hLb8I=
17371736
go.opentelemetry.io/otel v1.37.0 h1:9zhNfelUvx0KBfu/gb+ZgeAfAgtWrfHJZcAqFC228wQ=
17381737
go.opentelemetry.io/otel v1.37.0/go.mod h1:ehE/umFRLnuLa/vSccNq9oS1ErUlkkK71gMcN34UG8I=
1739-
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.34.0 h1:OeNbIYk/2C15ckl7glBlOBp5+WlYsOElzTNmiPW/x60=
1740-
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.34.0/go.mod h1:7Bept48yIeqxP2OZ9/AqIpYS94h2or0aB4FypJTc8ZM=
1738+
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.36.0 h1:dNzwXjZKpMpE2JhmO+9HsPl42NIXFIFSUSSs0fiqra0=
17411739
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.34.0 h1:BEj3SPM81McUZHYjRS5pEgNgnmzGJ5tRpU5krWnV8Bs=
17421740
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.34.0/go.mod h1:9cKLGBDzI/F3NoHLQGm4ZrYdIHsvGt6ej6hUowxY0J4=
17431741
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.29.0 h1:WDdP9acbMYjbKIyJUhTvtzj601sVJOqgWdUxSdR/Ysc=
@@ -1753,8 +1751,7 @@ go.opentelemetry.io/otel/trace v1.37.0/go.mod h1:TlgrlQ+PtQO5XFerSPUYG0JSgGyryXe
17531751
go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI=
17541752
go.opentelemetry.io/proto/otlp v0.15.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U=
17551753
go.opentelemetry.io/proto/otlp v0.19.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U=
1756-
go.opentelemetry.io/proto/otlp v1.5.0 h1:xJvq7gMzB31/d406fB8U5CBdyQGw4P399D1aQWU/3i4=
1757-
go.opentelemetry.io/proto/otlp v1.5.0/go.mod h1:keN8WnHxOy8PG0rQZjJJ5A2ebUoafqWp0eVQ4yIXvJ4=
1754+
go.opentelemetry.io/proto/otlp v1.6.0 h1:jQjP+AQyTf+Fe7OKj/MfkDrmK4MNVtw2NpXsf9fefDI=
17581755
go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE=
17591756
go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE=
17601757
go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ=

0 commit comments

Comments
 (0)