Skip to content

Commit d95ee37

Browse files
authored
Upgrade to go-1.25 (#185)
1 parent 3ccc8d9 commit d95ee37

File tree

4 files changed

+119
-119
lines changed

4 files changed

+119
-119
lines changed

.github/workflows/docker.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323

24-
- name: Set up Go 1.24
24+
- name: Set up Go 1.25
2525
uses: actions/setup-go@v5
2626
with:
27-
go-version: "1.24"
27+
go-version: "1.25"
2828
cache: false
2929
id: go
3030

3131
- name: Check out code into the Go module directory
32-
uses: actions/checkout@v4
32+
uses: actions/checkout@v5
3333

3434

3535

@@ -94,15 +94,15 @@ jobs:
9494
runs-on: ubuntu-latest
9595
steps:
9696

97-
- name: Set up Go 1.24
97+
- name: Set up Go 1.25
9898
uses: actions/setup-go@v5
9999
with:
100-
go-version: "1.24"
100+
go-version: "1.25"
101101
cache: false
102102
id: go
103103

104104
- name: Check out code into the Go module directory
105-
uses: actions/checkout@v4
105+
uses: actions/checkout@v5
106106

107107
- name: run benchmark
108108
run: |

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
FROM alpine:3.21 AS health-downloader
1+
FROM alpine:3.22 AS health-downloader
22
ENV GRPC_HEALTH_PROBE_VERSION=v0.4.28 \
33
GRPC_HEALTH_PROBE_URL=https://github.com/grpc-ecosystem/grpc-health-probe/releases/download
44
RUN apk -U add curl \
55
&& curl -fLso /bin/grpc_health_probe \
66
${GRPC_HEALTH_PROBE_URL}/${GRPC_HEALTH_PROBE_VERSION}/grpc_health_probe-linux-amd64 \
77
&& chmod +x /bin/grpc_health_probe
88

9-
FROM golang:1.24-alpine AS builder
9+
FROM golang:1.25-alpine AS builder
1010
RUN apk add \
1111
binutils \
1212
gcc \

go.mod

Lines changed: 35 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/metal-stack/go-ipam
22

3-
go 1.24
3+
go 1.25
44

55
require (
66
connectrpc.com/connect v1.18.1
@@ -12,19 +12,19 @@ require (
1212
github.com/klauspost/connect-compress/v2 v2.0.0
1313
github.com/lib/pq v1.10.9
1414
github.com/metal-stack/v v1.0.3
15-
github.com/prometheus/client_golang v1.22.0
16-
github.com/redis/go-redis/v9 v9.10.0
17-
github.com/stretchr/testify v1.10.0
18-
github.com/testcontainers/testcontainers-go v0.37.0
19-
github.com/urfave/cli/v2 v2.27.6
20-
go.etcd.io/etcd/client/v3 v3.6.1
15+
github.com/prometheus/client_golang v1.23.0
16+
github.com/redis/go-redis/v9 v9.12.1
17+
github.com/stretchr/testify v1.11.0
18+
github.com/testcontainers/testcontainers-go v0.38.0
19+
github.com/urfave/cli/v2 v2.27.7
20+
go.etcd.io/etcd/client/v3 v3.6.4
2121
go.mongodb.org/mongo-driver v1.17.4
22-
go.opentelemetry.io/otel/exporters/prometheus v0.58.0
23-
go.opentelemetry.io/otel/sdk/metric v1.36.0
22+
go.opentelemetry.io/otel/exporters/prometheus v0.59.0
23+
go.opentelemetry.io/otel/sdk/metric v1.37.0
2424
go4.org/netipx v0.0.0-20231129151722-fdeea329fbba
25-
golang.org/x/net v0.41.0
26-
golang.org/x/sync v0.15.0
27-
google.golang.org/protobuf v1.36.6
25+
golang.org/x/net v0.43.0
26+
golang.org/x/sync v0.16.0
27+
google.golang.org/protobuf v1.36.8
2828
)
2929

3030
require (
@@ -39,14 +39,14 @@ require (
3939
github.com/containerd/log v0.1.0 // indirect
4040
github.com/containerd/platforms v0.2.1 // indirect
4141
github.com/coreos/go-semver v0.3.1 // indirect
42-
github.com/coreos/go-systemd/v22 v22.5.0 // indirect
42+
github.com/coreos/go-systemd/v22 v22.6.0 // indirect
4343
github.com/cpuguy83/dockercfg v0.3.2 // indirect
4444
github.com/cpuguy83/go-md2man/v2 v2.0.7 // indirect
4545
github.com/davecgh/go-spew v1.1.1 // indirect
4646
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
4747
github.com/distribution/reference v0.6.0 // indirect
48-
github.com/docker/docker v28.2.2+incompatible // indirect
49-
github.com/docker/go-connections v0.5.0 // indirect
48+
github.com/docker/docker v28.3.3+incompatible // indirect
49+
github.com/docker/go-connections v0.6.0 // indirect
5050
github.com/docker/go-units v0.5.0 // indirect
5151
github.com/ebitengine/purego v0.8.4 // indirect
5252
github.com/felixge/httpsnoop v1.0.4 // indirect
@@ -57,14 +57,13 @@ require (
5757
github.com/golang/protobuf v1.5.4 // indirect
5858
github.com/golang/snappy v1.0.0 // indirect
5959
github.com/google/uuid v1.6.0 // indirect
60-
github.com/grpc-ecosystem/grpc-gateway/v2 v2.26.3 // indirect
60+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.2 // indirect
6161
github.com/klauspost/compress v1.18.0 // indirect
62-
github.com/lufia/plan9stats v0.0.0-20250317134145-8bc96cf8fc35 // indirect
62+
github.com/lufia/plan9stats v0.0.0-20250821153705-5981dea3221d // indirect
6363
github.com/magiconair/properties v1.8.10 // indirect
6464
github.com/moby/docker-image-spec v1.3.1 // indirect
6565
github.com/moby/go-archive v0.1.0 // indirect
6666
github.com/moby/patternmatcher v0.6.0 // indirect
67-
github.com/moby/sys/atomicwriter v0.1.0 // indirect
6867
github.com/moby/sys/sequential v0.6.0 // indirect
6968
github.com/moby/sys/user v0.4.0 // indirect
7069
github.com/moby/sys/userns v0.1.0 // indirect
@@ -78,36 +77,36 @@ require (
7877
github.com/pmezard/go-difflib v1.0.0 // indirect
7978
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect
8079
github.com/prometheus/client_model v0.6.2 // indirect
81-
github.com/prometheus/common v0.64.0 // indirect
82-
github.com/prometheus/procfs v0.16.1 // indirect
80+
github.com/prometheus/common v0.65.0 // indirect
81+
github.com/prometheus/procfs v0.17.0 // indirect
8382
github.com/russross/blackfriday/v2 v2.1.0 // indirect
84-
github.com/shirou/gopsutil/v4 v4.25.5 // indirect
83+
github.com/shirou/gopsutil/v4 v4.25.7 // indirect
8584
github.com/sirupsen/logrus v1.9.3 // indirect
8685
github.com/tklauser/go-sysconf v0.3.15 // indirect
8786
github.com/tklauser/numcpus v0.10.0 // indirect
8887
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
8988
github.com/xdg-go/scram v1.1.2 // indirect
9089
github.com/xdg-go/stringprep v1.0.4 // indirect
91-
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 // indirect
90+
github.com/xrash/smetrics v0.0.0-20250705151800-55b8f293f342 // indirect
9291
github.com/youmark/pkcs8 v0.0.0-20240726163527-a2c0da244d78 // indirect
9392
github.com/yusufpapurcu/wmi v1.2.4 // indirect
94-
go.etcd.io/etcd/api/v3 v3.6.1 // indirect
95-
go.etcd.io/etcd/client/pkg/v3 v3.6.1 // indirect
93+
go.etcd.io/etcd/api/v3 v3.6.4 // indirect
94+
go.etcd.io/etcd/client/pkg/v3 v3.6.4 // indirect
9695
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
97-
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.61.0 // indirect
98-
go.opentelemetry.io/otel v1.36.0 // indirect
99-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.36.0 // indirect
100-
go.opentelemetry.io/otel/metric v1.36.0 // indirect
101-
go.opentelemetry.io/otel/sdk v1.36.0 // indirect
102-
go.opentelemetry.io/otel/trace v1.36.0 // indirect
96+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.62.0 // indirect
97+
go.opentelemetry.io/otel v1.37.0 // indirect
98+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.37.0 // indirect
99+
go.opentelemetry.io/otel/metric v1.37.0 // indirect
100+
go.opentelemetry.io/otel/sdk v1.37.0 // indirect
101+
go.opentelemetry.io/otel/trace v1.37.0 // indirect
103102
go.uber.org/multierr v1.11.0 // indirect
104103
go.uber.org/zap v1.27.0 // indirect
105-
golang.org/x/crypto v0.39.0 // indirect
106-
golang.org/x/sys v0.33.0 // indirect
107-
golang.org/x/text v0.26.0 // indirect
104+
golang.org/x/crypto v0.41.0 // indirect
105+
golang.org/x/sys v0.35.0 // indirect
106+
golang.org/x/text v0.28.0 // indirect
108107
golang.org/x/time v0.12.0 // indirect
109-
google.golang.org/genproto/googleapis/api v0.0.0-20250603155806-513f23925822 // indirect
110-
google.golang.org/genproto/googleapis/rpc v0.0.0-20250603155806-513f23925822 // indirect
111-
google.golang.org/grpc v1.73.0 // indirect
108+
google.golang.org/genproto/googleapis/api v0.0.0-20250818200422-3122310a409c // indirect
109+
google.golang.org/genproto/googleapis/rpc v0.0.0-20250818200422-3122310a409c // indirect
110+
google.golang.org/grpc v1.75.0 // indirect
112111
gopkg.in/yaml.v3 v3.0.1 // indirect
113112
)

0 commit comments

Comments
 (0)