Skip to content

Commit 78f84c4

Browse files
authored
chore: support Go 1.24 & 1.25 (#3366)
1 parent 9f5945e commit 78f84c4

File tree

5 files changed

+8
-9
lines changed

5 files changed

+8
-9
lines changed

.github/workflows/go-check.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Go Checks
33
on:
44
pull_request:
55
push:
6-
branches: ["master","release-v0[0-9][0-9]"]
6+
branches: ["master", "release-v0[0-9][0-9]"]
77
workflow_dispatch:
88

99
permissions:
@@ -17,6 +17,5 @@ jobs:
1717
go-check:
1818
uses: ipdxco/unified-github-workflows/.github/workflows/go-check.yml@v1.0
1919
with:
20-
go-version: "1.24.x"
20+
go-version: "1.25.x"
2121
go-generate-ignore-protoc-version-comments: true
22-

.github/workflows/go-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Go Test
33
on:
44
pull_request:
55
push:
6-
branches: ["master","release-v0[0-9][0-9]"]
6+
branches: ["master", "release-v0[0-9][0-9]"]
77
workflow_dispatch:
88

99
permissions:
@@ -17,6 +17,6 @@ jobs:
1717
go-test:
1818
uses: ./.github/workflows/go-test-template.yml
1919
with:
20-
go-versions: '["1.23.x", "1.24.x"]'
20+
go-versions: '["1.24.x", "1.25.x"]'
2121
secrets:
2222
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/libp2p/go-libp2p
22

3-
go 1.23.8
3+
go 1.24.6
44

55
retract v0.26.1 // Tag was applied incorrectly due to a bug in the release workflow.
66

test-plans/PingDockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# syntax=docker/dockerfile:1
22
# This is run from the parent directory to copy the whole go-libp2p codebase
33

4-
FROM golang:1.23-alpine AS builder
4+
FROM golang:1.24-alpine AS builder
55

66
WORKDIR /app/
77

88
COPY ./ .
99
WORKDIR /app/test-plans
1010
RUN go mod download
11-
RUN go build -o /testplan ./cmd/ping
11+
RUN go build -o /testplan ./cmd/ping
1212

1313
FROM alpine
1414
WORKDIR /app

test-plans/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/libp2p/go-libp2p/test-plans/m/v2
22

3-
go 1.23.8
3+
go 1.24.6
44

55
require (
66
github.com/go-redis/redis/v8 v8.11.5

0 commit comments

Comments
 (0)