Skip to content

Protoc Version Issues #2386

@cjqzhao

Description

@cjqzhao

Version

tonic v0.14.1
├── tonic v0.14.1
└── tonic-prost v0.14.1
└── tonic v0.14.1

Crates

protobuf-codegen

Description

My PR is failing CIs due to the below error:

thread 'main' panicked at /Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/protobuf-codegen-4.31.1-release/src/lib.rs:162:13:
Expected protoc version 31.1 but found 32.0

The protobuf team just released version 32.0 and it seems like the CI.yaml file is using the latest version. I believe it is this line.

  • uses: taiki-e/install-action@protoc

I think version 32.0 gets rid of the warnings, so we could upgrade to that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions