Skip to content

Commit 74813fb

Browse files
committed
Add protoc install step in CI
1 parent 23170e2 commit 74813fb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/rust.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
- name: Checkout Repository
1818
uses: actions/checkout@v4
1919

20+
2021
- name: Set Up Rust
2122
uses: actions-rs/toolchain@v1
2223
with:
@@ -30,11 +31,14 @@ jobs:
3031
- name: Check Code Formatting
3132
run: cargo fmt --all -- --check
3233

34+
- name: Install protoc for gRPC server
35+
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler
36+
3337
- name: Run Clippy (Linter)
3438
run: cargo clippy --all-targets --all-features -- -D warnings
3539

3640
- name: Build Project
3741
run: cargo build --verbose
3842

3943
- name: Run Tests
40-
run: cargo test --verbose
44+
run: cargo test --verbose -- --test-threads=1

0 commit comments

Comments
 (0)