From 554d92c1af5219f5b36e7ab869d0215e9d922b86 Mon Sep 17 00:00:00 2001 From: Rodrigo Campos Date: Wed, 5 Feb 2025 12:38:18 +0100 Subject: [PATCH] go.mod: Use 1.22.0 instead of 1.22 Before go 1.21, using "go 1.20" meant 1.20.0 and all patch releases, excluding rc releases of 1.20. However, since go 1.21, it means truncating everything after the 21: 1.21, 1.21rc2, and 1.21.3 all are accepted. See more info here: https://go.dev/doc/toolchain#version Let's keep doing the same we always did and add the .0 for that. Other projects, like containerd and kubernetes, are also using the .0 now. Signed-off-by: Rodrigo Campos --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index a2adf6dd9fa..561edf2a7e3 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/opencontainers/runc -go 1.22 +go 1.22.0 // Suggest toolchain 1.22.4 due to a fix in golang for libcontainer/nsenter/. // For more info, see: #4233