cli / go-gh

A Go module for interacting with gh and the GitHub API from the command line.
https://pkg.go.dev/github.com/cli/go-gh/v2
MIT License
322 stars 45 forks source link

Upgrade to go 1.22 #154

Closed williammartin closed 2 months ago

williammartin commented 3 months ago

Following the pattern from https://github.com/cli/go-gh/commit/a1e5851644f999a592dd2a59d20233617ebdf61c

williammartin commented 2 months ago

I'm closing this because since 1.21, this version is no longer advisory (https://go.dev/doc/modules/gomod-ref):

The go directive sets the minimum version of Go required to use this module. Before Go 1.21, the directive was advisory only; now it is a mandatory requirement: Go toolchains refuse to use modules declaring newer Go versions.

It doesn't seem necessary to force our consumers to bump their go.mod versions.