From 15132e6c1e240fadabe26802713396a5641d213f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20Trma=C4=8D?= Date: Thu, 22 Aug 2024 22:12:38 +0200 Subject: [PATCH] Update to Go 1.23 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ... and stop testing on Fedora 40 because it is not available there. Signed-off-by: Miloslav Trmač --- .packit.yaml | 7 +++++-- go.mod | 2 +- install.md | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.packit.yaml b/.packit.yaml index 70fef0b5..283bda9e 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -51,8 +51,11 @@ jobs: failure_comment: message: "Ephemeral COPR build failed. @containers/packit-build please check." targets: &fedora_copr_targets - - fedora-all-x86_64 - - fedora-all-aarch64 + # This should generally be fedora-all-*, but we exclude Fedora 40 because it does not have Go 1.23. + - fedora-latest-stable-x86_64 + - fedora-latest-stable-aarch64 + - fedora-development-x86_64 + - fedora-development-aarch64 enable_net: true - job: copr_build diff --git a/go.mod b/go.mod index efbf7a7b..cca75caa 100644 --- a/go.mod +++ b/go.mod @@ -1,7 +1,7 @@ module github.com/containers/skopeo // Minimum required golang version -go 1.22.8 +go 1.23.0 // Warning: Ensure the "go" and "toolchain" versions match exactly to prevent unwanted auto-updates diff --git a/install.md b/install.md index 0accefcd..d824833c 100644 --- a/install.md +++ b/install.md @@ -139,7 +139,7 @@ located at [https://github.com/containers/image_build/tree/main/skopeo](https:// Otherwise, read on for building and installing it from source: -To build the `skopeo` binary you need at least Go 1.22. +To build the `skopeo` binary you need at least Go 1.23. There are two ways to build skopeo: in a container, or locally without a container. Choose the one which better matches your needs and environment.