chore: support Go 1.24 & 1.25 (#3366)

This commit is contained in:
Marco Munizaga
2025-08-18 06:39:23 -07:00
committed by GitHub
parent 9f5945e189
commit 78f84c40c8
5 changed files with 8 additions and 9 deletions

View File

@@ -3,7 +3,7 @@ name: Go Checks
on:
pull_request:
push:
branches: ["master","release-v0[0-9][0-9]"]
branches: ["master", "release-v0[0-9][0-9]"]
workflow_dispatch:
permissions:
@@ -17,6 +17,5 @@ jobs:
go-check:
uses: ipdxco/unified-github-workflows/.github/workflows/go-check.yml@v1.0
with:
go-version: "1.24.x"
go-version: "1.25.x"
go-generate-ignore-protoc-version-comments: true

View File

@@ -3,7 +3,7 @@ name: Go Test
on:
pull_request:
push:
branches: ["master","release-v0[0-9][0-9]"]
branches: ["master", "release-v0[0-9][0-9]"]
workflow_dispatch:
permissions:
@@ -17,6 +17,6 @@ jobs:
go-test:
uses: ./.github/workflows/go-test-template.yml
with:
go-versions: '["1.23.x", "1.24.x"]'
go-versions: '["1.24.x", "1.25.x"]'
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

2
go.mod
View File

@@ -1,6 +1,6 @@
module github.com/libp2p/go-libp2p
go 1.23.8
go 1.24.6
retract v0.26.1 // Tag was applied incorrectly due to a bug in the release workflow.

View File

@@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1
# This is run from the parent directory to copy the whole go-libp2p codebase
FROM golang:1.23-alpine AS builder
FROM golang:1.24-alpine AS builder
WORKDIR /app/

View File

@@ -1,6 +1,6 @@
module github.com/libp2p/go-libp2p/test-plans/m/v2
go 1.23.8
go 1.24.6
require (
github.com/go-redis/redis/v8 v8.11.5