chore: require go 1.22/1.23, upgrade protobuf, upgrade all deps
Go upgrade: - Go 1.23 is current => use that for release builds - Go 1.22 is less than one year old, it's desirable to support it. - The [`Go Toolchains`](https://go.dev/doc/toolchain) stuff is available in both of these (would also be in Go 1.21). That is quite nice stuff, but required some changes to how we versions we use in CircleCI and the `release-docker` Makefile target. Protobuf upgrade: - Go to protobuf GH release website - Download latest locally - run `sha256sum` - replace existing pinned hashes - `make generate` Deps upgrade: - `go get -t -u all` - repository moves aren't handled well automatically, fix manually - repeat until no changes
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.25.0
|
||||
// protoc v3.14.0
|
||||
// protoc-gen-go v1.34.2
|
||||
// protoc v5.28.0
|
||||
// source: grpcauth.proto
|
||||
|
||||
package pdu
|
||||
|
||||
import (
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
@@ -21,10 +20,6 @@ const (
|
||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||
)
|
||||
|
||||
// This is a compile-time assertion that a sufficiently up-to-date version
|
||||
// of the legacy proto package is being used.
|
||||
const _ = proto.ProtoPackageIsVersion4
|
||||
|
||||
type GreetRequest struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
@@ -148,7 +143,7 @@ func file_grpcauth_proto_rawDescGZIP() []byte {
|
||||
}
|
||||
|
||||
var file_grpcauth_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
||||
var file_grpcauth_proto_goTypes = []interface{}{
|
||||
var file_grpcauth_proto_goTypes = []any{
|
||||
(*GreetRequest)(nil), // 0: pdu.GreetRequest
|
||||
(*GreetResponse)(nil), // 1: pdu.GreetResponse
|
||||
}
|
||||
@@ -168,7 +163,7 @@ func file_grpcauth_proto_init() {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_grpcauth_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_grpcauth_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*GreetRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -180,7 +175,7 @@ func file_grpcauth_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_grpcauth_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_grpcauth_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*GreetResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
||||
Reference in New Issue
Block a user