From f203be6cea32cc28a4a66ad3d0ab54fb24512a6e Mon Sep 17 00:00:00 2001 From: Jeffrey Held Date: Mon, 12 Feb 2024 12:29:57 +0100 Subject: [PATCH] chore: upgrade to go 1.22 --- .trunk/trunk.yaml | 2 +- Dockerfile | 2 +- go.mod | 4 ++-- go.sum | 1 + 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.trunk/trunk.yaml b/.trunk/trunk.yaml index 3e1e046b..5afd30c4 100644 --- a/.trunk/trunk.yaml +++ b/.trunk/trunk.yaml @@ -35,7 +35,7 @@ lint: runtimes: enabled: - - go@1.21.4 + - go@1.22.0 - node@20.10.0 - python@3.10.8 diff --git a/Dockerfile b/Dockerfile index 0266463d..86f3166e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM --platform=$BUILDPLATFORM golang:1.21 AS builder +FROM --platform=$BUILDPLATFORM golang:1.22 AS builder WORKDIR /workspace # Copy the Go Modules manifests diff --git a/go.mod b/go.mod index 1fd832d1..53246a20 100644 --- a/go.mod +++ b/go.mod @@ -1,10 +1,11 @@ module github.com/aiven/aiven-operator -go 1.21 +go 1.22 require ( github.com/aiven/aiven-go-client/v2 v2.12.0 github.com/aiven/go-api-schemas v1.59.0 + github.com/aiven/go-client-codegen v0.0.0-20240209135349-3182cbc52bc8 github.com/dave/jennifer v1.7.0 github.com/docker/go-units v0.5.0 github.com/ghodss/yaml v1.0.0 @@ -27,7 +28,6 @@ require ( ) require ( - github.com/aiven/go-client-codegen v0.0.0-20240209135349-3182cbc52bc8 // indirect github.com/beorn7/perks v1.0.1 // indirect github.com/cespare/xxhash/v2 v2.1.2 // indirect github.com/davecgh/go-spew v1.1.1 // indirect diff --git a/go.sum b/go.sum index 4e3b88c3..ef4e35f0 100644 --- a/go.sum +++ b/go.sum @@ -365,6 +365,7 @@ golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EH golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= golang.org/x/exp v0.0.0-20230905200255-921286631fa9 h1:GoHiUyI/Tp2nVkLI2mCxVkOjsbSXD66ic0XW0js0R9g= golang.org/x/exp v0.0.0-20230905200255-921286631fa9/go.mod h1:S2oDrQGGwySpoQPVqRShND87VCbxmc6bL1Yd2oYrm6k= +golang.org/x/exp v0.0.0-20240112132812-db7319d0e0e3 h1:hNQpMuAJe5CtcUqCXaWga3FHu+kQvCqcsoVaQgSV60o= golang.org/x/exp v0.0.0-20240112132812-db7319d0e0e3/go.mod h1:idGWGoKP1toJGkd5/ig9ZLuPcZBC3ewk7SzmH0uou08= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=