chore: bump Go to v1.26 (#7466)

This commit is contained in:
Francis Lavoie 2026-02-11 13:21:10 -05:00 committed by GitHub
parent 72ac479f5d
commit c0af7b665f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 13 additions and 13 deletions

View File

@ -31,13 +31,13 @@ jobs:
- mac
- windows
go:
- '1.25'
- '1.26'
include:
# Set the minimum Go patch version for the given Go minor
# Usable via ${{ matrix.GO_SEMVER }}
- go: '1.25'
GO_SEMVER: '~1.25.0'
- go: '1.26'
GO_SEMVER: '~1.26.0'
# Set some variables per OS, usable via ${{ matrix.VAR }}
# OS_LABEL: the VM label from GitHub Actions (see https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories)
@ -235,7 +235,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
with:
go-version: "~1.25"
go-version: "~1.26"
check-latest: true
- name: Install xcaddy
run: |

View File

@ -36,13 +36,13 @@ jobs:
- 'darwin'
- 'netbsd'
go:
- '1.25'
- '1.26'
include:
# Set the minimum Go patch version for the given Go minor
# Usable via ${{ matrix.GO_SEMVER }}
- go: '1.25'
GO_SEMVER: '~1.25.0'
- go: '1.26'
GO_SEMVER: '~1.26.0'
runs-on: ubuntu-latest
permissions:

View File

@ -52,7 +52,7 @@ jobs:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
with:
go-version: '~1.25'
go-version: '~1.26'
check-latest: true
- name: golangci-lint
@ -80,7 +80,7 @@ jobs:
- name: govulncheck
uses: golang/govulncheck-action@b625fbe08f3bccbe446d94fbf87fcc875a4f50ee # v1.0.4
with:
go-version-input: '~1.25.0'
go-version-input: '~1.26.0'
check-latest: true
dependency-review:

View File

@ -334,13 +334,13 @@ jobs:
os:
- ubuntu-latest
go:
- '1.25'
- '1.26'
include:
# Set the minimum Go patch version for the given Go minor
# Usable via ${{ matrix.GO_SEMVER }}
- go: '1.25'
GO_SEMVER: '~1.25.0'
- go: '1.26'
GO_SEMVER: '~1.26.0'
runs-on: ${{ matrix.os }}
# https://github.com/sigstore/cosign/issues/1258#issuecomment-1002251233

2
go.mod
View File

@ -170,7 +170,7 @@ require (
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/mod v0.30.0 // indirect
golang.org/x/sys v0.39.0
golang.org/x/text v0.32.0 // indirect
golang.org/x/text v0.32.0
golang.org/x/tools v0.39.0 // indirect
google.golang.org/grpc v1.77.0 // indirect
google.golang.org/protobuf v1.36.10 // indirect