Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v15] Use Go 1.22.x as the module version #50879

Merged
merged 3 commits into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,6 @@ issues:
- linters: [testifylint]
text: "suite-thelper: suite helper method must start with"
path: 'integrations/.+'
# Go 1.22 related warnings.
# These are OK because our toolchain is 1.22 or newer.
- linters: [govet]
text: "stdversion: cmp.Or requires go1.22 or later"
- linters: [govet]
text: "stdversion: rand.New requires go1.22 or later"
- linters: [govet]
text: "stdversion: rand.NewPCG requires go1.22 or later"

exclude-use-default: true
max-same-issues: 0
max-issues-per-linter: 0
Expand Down Expand Up @@ -157,6 +148,6 @@ linters-settings:
- suite-thelper

run:
go: '1.21'
go: '1.22'
build-tags: []
timeout: 15m
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module github.com/gravitational/teleport

go 1.21

toolchain go1.22.10
go 1.22.10

require (
cloud.google.com/go/cloudsqlconn v1.9.0
Expand Down
4 changes: 1 addition & 3 deletions integrations/event-handler/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module github.com/gravitational/teleport/integrations/event-handler

go 1.21

toolchain go1.22.10
go 1.22.10

require (
github.com/alecthomas/kong v0.9.0
Expand Down
4 changes: 1 addition & 3 deletions integrations/terraform/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module github.com/gravitational/teleport/integrations/terraform

go 1.21

toolchain go1.22.10
go 1.22.10

require (
github.com/gogo/protobuf v1.3.2
Expand Down
Loading