From a2d36b6c6ce955c2c6d19fcfcb0fe0a73a1e0b05 Mon Sep 17 00:00:00 2001
From: Guillaume Lours <705411+glours@users.noreply.github.com>
Date: Fri, 3 Feb 2023 22:31:44 +0100
Subject: [PATCH] bump golang to 1.20

Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
---
 Dockerfile      | 4 ++--
 docker-bake.hcl | 2 +-
 go.mod          | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 085e9b0c6..98bc00b96 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -15,9 +15,9 @@
 #   See the License for the specific language governing permissions and
 #   limitations under the License.
 
-ARG GO_VERSION=1.19.4
+ARG GO_VERSION=1.20.0
 ARG XX_VERSION=1.1.2
-ARG GOLANGCI_LINT_VERSION=v1.49.0
+ARG GOLANGCI_LINT_VERSION=v1.51.0
 ARG ADDLICENSE_VERSION=v1.0.0
 
 ARG BUILD_TAGS="e2e"
diff --git a/docker-bake.hcl b/docker-bake.hcl
index 3d9079a58..101ad00a5 100644
--- a/docker-bake.hcl
+++ b/docker-bake.hcl
@@ -13,7 +13,7 @@
 // limitations under the License.
 
 variable "GO_VERSION" {
-  default = "1.19.4"
+  default = "1.20.0"
 }
 
 variable "BUILD_TAGS" {
diff --git a/go.mod b/go.mod
index ab63b54be..14af2fadc 100644
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,6 @@
 module github.com/docker/compose/v2
 
-go 1.19
+go 1.20
 
 require (
 	github.com/AlecAivazis/survey/v2 v2.3.6