Skip to content

Commit 2e22c04

Browse files
authored
Merge pull request #1819 from getsops/update-go
Build using Go 1.24 and drop support for 1.22
2 parents 03fb746 + 60b9e08 commit 2e22c04

File tree

3 files changed

+3
-84
lines changed

3 files changed

+3
-84
lines changed

.github/utils/patch-go.mod.py

Lines changed: 0 additions & 77 deletions
This file was deleted.

.github/workflows/cli.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
matrix:
2020
os: [linux, darwin, windows]
2121
arch: [amd64, arm64]
22-
go-version: ['1.22', '1.23']
22+
go-version: ['1.23', '1.24']
2323
exclude:
2424
- os: windows
2525
arch: arm64
@@ -49,9 +49,6 @@ jobs:
4949
- name: Vendor Go Modules
5050
run: make vendor
5151

52-
- name: Restore go/toolchain lines of go.mod
53-
run: python3 .github/utils/patch-go.mod.py
54-
5552
- name: Ensure clean working tree
5653
run: git diff --exit-code
5754

@@ -88,7 +85,7 @@ jobs:
8885
needs: [build]
8986
strategy:
9087
matrix:
91-
go-version: ['1.22']
88+
go-version: ['1.24']
9289
env:
9390
VAULT_VERSION: "1.14.0"
9491
VAULT_TOKEN: "root"

go.mod

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
module github.com/getsops/sops/v3
22

3-
go 1.22
4-
toolchain go1.24.1
3+
go 1.23.0
54

65
require (
76
cloud.google.com/go/kms v1.21.1

0 commit comments

Comments
 (0)