From 74813fbc0370c11fe6411b9e48c3bde0e0735ad9 Mon Sep 17 00:00:00 2001 From: Tanmay Arya Date: Fri, 28 Nov 2025 05:09:57 +0530 Subject: [PATCH] Add protoc install step in CI --- .github/workflows/rust.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index d1f3507..7fee469 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -17,6 +17,7 @@ jobs: - name: Checkout Repository uses: actions/checkout@v4 + - name: Set Up Rust uses: actions-rs/toolchain@v1 with: @@ -30,6 +31,9 @@ jobs: - name: Check Code Formatting run: cargo fmt --all -- --check + - name: Install protoc for gRPC server + run: sudo apt-get update && sudo apt-get install -y protobuf-compiler + - name: Run Clippy (Linter) run: cargo clippy --all-targets --all-features -- -D warnings @@ -37,4 +41,4 @@ jobs: run: cargo build --verbose - name: Run Tests - run: cargo test --verbose + run: cargo test --verbose -- --test-threads=1 \ No newline at end of file