From 9419a01e971cb6f151f41b9b19aba859053c60e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Baranowski?= Date: Thu, 25 Apr 2024 13:59:38 +0200 Subject: [PATCH] feat: Use go 1.22 by default --- catalog/golang/options.go | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/catalog/golang/options.go b/catalog/golang/options.go index 2963668..8c71d7c 100644 --- a/catalog/golang/options.go +++ b/catalog/golang/options.go @@ -10,7 +10,7 @@ import ( type config struct { GoImageRepo string `env:"GO_IMAGE_REPO,notEmpty" envDefault:"docker.io/golang"` - GoImageTag string `env:"GO_IMAGE_TAG,notEmpty" envDefault:"1.21"` + GoImageTag string `env:"GO_IMAGE_TAG,notEmpty" envDefault:"1.22"` GoModCacheEnabled bool `env:"GO_MOD_CACHE_ENABLE" envDefault:"true"` GoModDir string `env:"GO_MOD_DIR" envDefault:"."` Args []string `env:"GO_ARGS" envDefault:"" envSeparator:" "` diff --git a/go.mod b/go.mod index e64a5f1..51d1c2f 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/mesosphere/d2iq-daggers -go 1.21 +go 1.22 require ( dagger.io/dagger v0.10.1