diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 947588d2..a6d15ca4 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -20,6 +20,10 @@ jobs: - examples steps: - uses: actions/checkout@master + - uses: arduino/setup-protoc@v1 + if: matrix.pwd == 'examples' + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} - uses: dtolnay/rust-toolchain@stable with: toolchain: beta diff --git a/examples/rest-grpc-multiplex/Cargo.toml b/examples/rest-grpc-multiplex/Cargo.toml index 4c143cdc..61afe01a 100644 --- a/examples/rest-grpc-multiplex/Cargo.toml +++ b/examples/rest-grpc-multiplex/Cargo.toml @@ -8,12 +8,12 @@ publish = false axum = { path = "../../axum" } futures = "0.3" hyper = { version = "0.14", features = ["full"] } -prost = "0.10" +prost = "0.11" tokio = { version = "1", features = ["full"] } -tonic = { version = "0.7" } +tonic = { version = "0.8" } tower = { version = "0.4", features = ["full"] } tracing = "0.1" tracing-subscriber = { version = "0.3", features = ["env-filter"] } [build-dependencies] -tonic-build = { version = "0.7", features = ["prost"] } +tonic-build = { version = "0.8", features = ["prost"] } diff --git a/examples/rest-grpc-multiplex/src/main.rs b/examples/rest-grpc-multiplex/src/main.rs index 2ffc2775..4e03a565 100644 --- a/examples/rest-grpc-multiplex/src/main.rs +++ b/examples/rest-grpc-multiplex/src/main.rs @@ -17,7 +17,6 @@ use tracing_subscriber::{layer::SubscriberExt, util::SubscriberInitExt}; mod multiplex_service; mod proto { - #![allow(clippy::derive_partial_eq_without_eq)] tonic::include_proto!("helloworld"); }