Skip to content

github.com/golang/protobuf version for generated files #3187

@crazy-max

Description

@crazy-max

github.com/golang/protobuf used to generate proto (1.3.5) is desynced with one from go.mod (1.5.2):

ARG PROTOBUF_VERSION=v1.3.5
RUN --mount=target=/root/.cache,type=cache GO111MODULE=on go install \
github.com/golang/protobuf/protoc-gen-go@${PROTOBUF_VERSION}

github.com/golang/protobuf v1.5.2

We should fix this and also inferred go install from go.mod using tools build constraint to avoid that in the future.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions