From 80d8855294a6fc1e9ca63a499c5d79aef8a6877a Mon Sep 17 00:00:00 2001 From: web3-bot Date: Wed, 28 Aug 2024 21:15:49 +0100 Subject: [PATCH] ci: uci/update-go (#2937) * chore: bump go.mod to Go 1.22 and run go fix * Bump docker builder version --------- Co-authored-by: Marco Munizaga --- examples/go.mod | 2 +- examples/ipfs-camp-2019/go.mod | 2 +- examples/pubsub/basic-chat-with-rendezvous/go.mod | 2 +- examples/pubsub/chat/go.mod | 2 +- go.mod | 2 +- scripts/test_analysis/go.mod | 2 +- test-plans/PingDockerfile | 2 +- test-plans/go.mod | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/go.mod b/examples/go.mod index 578546a874..e4ba498316 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -1,6 +1,6 @@ module github.com/libp2p/go-libp2p/examples -go 1.21 +go 1.22 require ( github.com/gogo/protobuf v1.3.2 diff --git a/examples/ipfs-camp-2019/go.mod b/examples/ipfs-camp-2019/go.mod index 0d0b29c025..268135abab 100644 --- a/examples/ipfs-camp-2019/go.mod +++ b/examples/ipfs-camp-2019/go.mod @@ -1,6 +1,6 @@ module github.com/libp2p/go-libp2p/examples/ipfs-camp-2019 -go 1.21 +go 1.22 require ( github.com/gogo/protobuf v1.3.2 diff --git a/examples/pubsub/basic-chat-with-rendezvous/go.mod b/examples/pubsub/basic-chat-with-rendezvous/go.mod index cd90b4d5fc..c45d19866d 100644 --- a/examples/pubsub/basic-chat-with-rendezvous/go.mod +++ b/examples/pubsub/basic-chat-with-rendezvous/go.mod @@ -1,6 +1,6 @@ module github.com/libp2p/go-libp2p/examples/pubsub/chat -go 1.21 +go 1.22 require ( github.com/libp2p/go-libp2p v0.33.0 diff --git a/examples/pubsub/chat/go.mod b/examples/pubsub/chat/go.mod index 6c53916bb3..3f1e6c2f07 100644 --- a/examples/pubsub/chat/go.mod +++ b/examples/pubsub/chat/go.mod @@ -1,6 +1,6 @@ module github.com/libp2p/go-libp2p/examples/pubsub/chat -go 1.21 +go 1.22 require ( github.com/gdamore/tcell/v2 v2.5.2 diff --git a/go.mod b/go.mod index 6359d180d9..684f354427 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/libp2p/go-libp2p -go 1.21 +go 1.22 retract v0.26.1 // Tag was applied incorrectly due to a bug in the release workflow. diff --git a/scripts/test_analysis/go.mod b/scripts/test_analysis/go.mod index 3fcf14bfa7..84ffc92b36 100644 --- a/scripts/test_analysis/go.mod +++ b/scripts/test_analysis/go.mod @@ -1,6 +1,6 @@ module github.com/libp2p/go-libp2p/scripts/test_analysis -go 1.22.1 +go 1.22 require github.com/glebarez/go-sqlite v1.22.0 diff --git a/test-plans/PingDockerfile b/test-plans/PingDockerfile index 5c413aa464..4c5ffe9c11 100644 --- a/test-plans/PingDockerfile +++ b/test-plans/PingDockerfile @@ -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.21-alpine AS builder +FROM golang:1.23-alpine AS builder WORKDIR /app/ diff --git a/test-plans/go.mod b/test-plans/go.mod index e963be7bbb..466a55e911 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.21 +go 1.22 require ( github.com/go-redis/redis/v8 v8.11.5