diff --git a/.github/workflows/go-check.yml b/.github/workflows/go-check.yml index 8b3fcba7e..8de0c4c48 100644 --- a/.github/workflows/go-check.yml +++ b/.github/workflows/go-check.yml @@ -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 - diff --git a/.github/workflows/go-test.yml b/.github/workflows/go-test.yml index c77bc7449..0c5cd4f96 100644 --- a/.github/workflows/go-test.yml +++ b/.github/workflows/go-test.yml @@ -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 }} diff --git a/go.mod b/go.mod index 8127ac44a..adc440cca 100644 --- a/go.mod +++ b/go.mod @@ -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. diff --git a/test-plans/PingDockerfile b/test-plans/PingDockerfile index 4c5ffe9c1..f5d872f98 100644 --- a/test-plans/PingDockerfile +++ b/test-plans/PingDockerfile @@ -1,14 +1,14 @@ # 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/ COPY ./ . WORKDIR /app/test-plans RUN go mod download -RUN go build -o /testplan ./cmd/ping +RUN go build -o /testplan ./cmd/ping FROM alpine WORKDIR /app diff --git a/test-plans/go.mod b/test-plans/go.mod index d63811eec..a99a37d22 100644 --- a/test-plans/go.mod +++ b/test-plans/go.mod @@ -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