From cbec03036b45baa044738dd191ab17d9cc4d87e8 Mon Sep 17 00:00:00 2001 From: Hidde Beydals Date: Sun, 30 Mar 2025 12:09:26 +0200 Subject: [PATCH] Build using Go 1.24 and drop support for 1.22 Go 1.22.0 has been EOL since 1 year and 1 month ago[1]. [1]: https://endoflife.date/go Signed-off-by: Hidde Beydals --- .github/workflows/cli.yml | 4 ++-- go.mod | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml index 40d2ee679..35a15247a 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml @@ -19,7 +19,7 @@ jobs: matrix: os: [linux, darwin, windows] arch: [amd64, arm64] - go-version: ['1.22', '1.23'] + go-version: ['1.23', '1.24'] exclude: - os: windows arch: arm64 @@ -88,7 +88,7 @@ jobs: needs: [build] strategy: matrix: - go-version: ['1.22'] + go-version: ['1.24'] env: VAULT_VERSION: "1.14.0" VAULT_TOKEN: "root" diff --git a/go.mod b/go.mod index b8e16f864..03e459c05 100644 --- a/go.mod +++ b/go.mod @@ -1,7 +1,6 @@ module github.com/getsops/sops/v3 -go 1.22 -toolchain go1.24.1 +go 1.23.0 require ( cloud.google.com/go/kms v1.21.1