mirror of
https://github.com/libp2p/go-libp2p.git
synced 2025-09-26 20:21:26 +08:00
chore: support Go 1.24 & 1.25 (#3366)
This commit is contained in:
5
.github/workflows/go-check.yml
vendored
5
.github/workflows/go-check.yml
vendored
@@ -3,7 +3,7 @@ name: Go Checks
|
|||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
push:
|
push:
|
||||||
branches: ["master","release-v0[0-9][0-9]"]
|
branches: ["master", "release-v0[0-9][0-9]"]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
@@ -17,6 +17,5 @@ jobs:
|
|||||||
go-check:
|
go-check:
|
||||||
uses: ipdxco/unified-github-workflows/.github/workflows/go-check.yml@v1.0
|
uses: ipdxco/unified-github-workflows/.github/workflows/go-check.yml@v1.0
|
||||||
with:
|
with:
|
||||||
go-version: "1.24.x"
|
go-version: "1.25.x"
|
||||||
go-generate-ignore-protoc-version-comments: true
|
go-generate-ignore-protoc-version-comments: true
|
||||||
|
|
||||||
|
4
.github/workflows/go-test.yml
vendored
4
.github/workflows/go-test.yml
vendored
@@ -3,7 +3,7 @@ name: Go Test
|
|||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
push:
|
push:
|
||||||
branches: ["master","release-v0[0-9][0-9]"]
|
branches: ["master", "release-v0[0-9][0-9]"]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
@@ -17,6 +17,6 @@ jobs:
|
|||||||
go-test:
|
go-test:
|
||||||
uses: ./.github/workflows/go-test-template.yml
|
uses: ./.github/workflows/go-test-template.yml
|
||||||
with:
|
with:
|
||||||
go-versions: '["1.23.x", "1.24.x"]'
|
go-versions: '["1.24.x", "1.25.x"]'
|
||||||
secrets:
|
secrets:
|
||||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||||
|
2
go.mod
2
go.mod
@@ -1,6 +1,6 @@
|
|||||||
module github.com/libp2p/go-libp2p
|
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.
|
retract v0.26.1 // Tag was applied incorrectly due to a bug in the release workflow.
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
# This is run from the parent directory to copy the whole go-libp2p codebase
|
# 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/
|
WORKDIR /app/
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
module github.com/libp2p/go-libp2p/test-plans/m/v2
|
module github.com/libp2p/go-libp2p/test-plans/m/v2
|
||||||
|
|
||||||
go 1.23.8
|
go 1.24.6
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/go-redis/redis/v8 v8.11.5
|
github.com/go-redis/redis/v8 v8.11.5
|
||||||
|
Reference in New Issue
Block a user