From 479a377e69ab9493f1654a971fe1394490240f63 Mon Sep 17 00:00:00 2001 From: denisonbarbosa Date: Wed, 15 Jan 2025 08:47:36 -0400 Subject: [PATCH] Bump Go to 1.23 We now rely on Go >= 1.22.7, but Jammy and Noble versions (for the golang-1.22-go package) only go up to 1.22.2, which means we would be unable to build for those distributions. Since those versions now also have golang-1.23-go available, let's use that package instead and also bump the version here to ensure we have CI coverage. --- debian/control | 2 +- go.mod | 4 ++-- tools/go.mod | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/debian/control b/debian/control index c4cfc948b..ef878c7ec 100644 --- a/debian/control +++ b/debian/control @@ -5,7 +5,7 @@ Maintainer: Ubuntu Developers Build-Depends: debhelper-compat (= 13), dh-apport, dh-golang, - golang-go (>= 2:1.22~), + golang-go (>= 2:1.23~), apparmor, dbus, libdbus-1-dev, diff --git a/go.mod b/go.mod index f7002ce61..a47d25cae 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,8 @@ module github.com/ubuntu/adsys -go 1.22.2 +go 1.23.0 -toolchain go1.22.7 +toolchain go1.23.1 require ( github.com/charmbracelet/bubbles v0.20.0 diff --git a/tools/go.mod b/tools/go.mod index 7054ed5f7..85ec2bfd6 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -1,8 +1,8 @@ module github.com/ubuntu/adsys/tools -go 1.22.2 +go 1.23.0 -toolchain go1.23.0 +toolchain go1.23.1 require ( github.com/golang/protobuf v1.5.4