No longer verifying go generate -- version of protoc is in header which will cause difficulties.

This commit is contained in:
Mark Scannell 2020-12-12 16:12:06 +00:00
Родитель 7ab42ba684
Коммит 3fc4937243
3 изменённых файлов: 13 добавлений и 16 удалений

5
.github/workflows/go.yml поставляемый
Просмотреть файл

@ -29,15 +29,12 @@ jobs:
run: find . -name go.mod -execdir go fmt ./... \;
- name: Run go mod tidy on all modules
run: find . -name go.mod -execdir go mod tidy \;
- name: Run go generate
run: go generate
# If there are any diffs from go fmt, go mod tidy, or go generate then fail.
- name: Verify no changes from go fmt, go mod tidy, go generate. If you're reading this please re-run locally before PR.
- name: Verify no changes from go fmt and go mod tidy. If you're reading this please re-run locally before PR.
run: |
if [ -n "$(git status --porcelain)" ]; then
git status # Show the files that failed to pass the check.
git diff
exit 1
fi

Просмотреть файл

@ -15,16 +15,16 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.25.0
// protoc v3.13.0
// protoc v3.14.0
// source: bq_field.proto
package protos
import (
proto "github.com/golang/protobuf/proto"
descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
descriptorpb "google.golang.org/protobuf/types/descriptorpb"
reflect "reflect"
sync "sync"
)
@ -132,7 +132,7 @@ func (x *BigQueryFieldOptions) GetName() string {
var file_bq_field_proto_extTypes = []protoimpl.ExtensionInfo{
{
ExtendedType: (*descriptor.FieldOptions)(nil),
ExtendedType: (*descriptorpb.FieldOptions)(nil),
ExtensionType: (*BigQueryFieldOptions)(nil),
Field: 1021,
Name: "gen_bq_schema.bigquery",
@ -141,7 +141,7 @@ var file_bq_field_proto_extTypes = []protoimpl.ExtensionInfo{
},
}
// Extension fields to descriptor.FieldOptions.
// Extension fields to descriptorpb.FieldOptions.
var (
// BigQuery field schema generation options.
//
@ -193,8 +193,8 @@ func file_bq_field_proto_rawDescGZIP() []byte {
var file_bq_field_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_bq_field_proto_goTypes = []interface{}{
(*BigQueryFieldOptions)(nil), // 0: gen_bq_schema.BigQueryFieldOptions
(*descriptor.FieldOptions)(nil), // 1: google.protobuf.FieldOptions
(*BigQueryFieldOptions)(nil), // 0: gen_bq_schema.BigQueryFieldOptions
(*descriptorpb.FieldOptions)(nil), // 1: google.protobuf.FieldOptions
}
var file_bq_field_proto_depIdxs = []int32{
1, // 0: gen_bq_schema.bigquery:extendee -> google.protobuf.FieldOptions

Просмотреть файл

@ -15,16 +15,16 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.25.0
// protoc v3.13.0
// protoc v3.14.0
// source: bq_table.proto
package protos
import (
proto "github.com/golang/protobuf/proto"
descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
descriptorpb "google.golang.org/protobuf/types/descriptorpb"
reflect "reflect"
sync "sync"
)
@ -102,7 +102,7 @@ func (x *BigQueryMessageOptions) GetUseJsonNames() bool {
var file_bq_table_proto_extTypes = []protoimpl.ExtensionInfo{
{
ExtendedType: (*descriptor.MessageOptions)(nil),
ExtendedType: (*descriptorpb.MessageOptions)(nil),
ExtensionType: (*BigQueryMessageOptions)(nil),
Field: 1021,
Name: "gen_bq_schema.bigquery_opts",
@ -111,7 +111,7 @@ var file_bq_table_proto_extTypes = []protoimpl.ExtensionInfo{
},
}
// Extension fields to descriptor.MessageOptions.
// Extension fields to descriptorpb.MessageOptions.
var (
// BigQuery message schema generation options.
//
@ -163,8 +163,8 @@ func file_bq_table_proto_rawDescGZIP() []byte {
var file_bq_table_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_bq_table_proto_goTypes = []interface{}{
(*BigQueryMessageOptions)(nil), // 0: gen_bq_schema.BigQueryMessageOptions
(*descriptor.MessageOptions)(nil), // 1: google.protobuf.MessageOptions
(*BigQueryMessageOptions)(nil), // 0: gen_bq_schema.BigQueryMessageOptions
(*descriptorpb.MessageOptions)(nil), // 1: google.protobuf.MessageOptions
}
var file_bq_table_proto_depIdxs = []int32{
1, // 0: gen_bq_schema.bigquery_opts:extendee -> google.protobuf.MessageOptions