Add CI rust cache

This commit is contained in:
Jazz Turner-Baggs 2026-06-24 00:02:31 -07:00
parent 8784a43c39
commit 356a357c4e
No known key found for this signature in database

View File

@ -18,6 +18,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: rustup update stable && rustup default stable
- uses: Swatinem/rust-cache@v2
# hashgraph-like-consensus's build.rs shells out to protoc via prost-build.
- run: sudo apt-get update && sudo apt-get install -y protobuf-compiler
# chat-cli pulls in components' embedded_p2p_delivery feature, whose
@ -34,6 +35,7 @@ jobs:
- uses: actions/checkout@v4
- run: rustup update stable && rustup default stable
- run: rustup component add clippy
- uses: Swatinem/rust-cache@v2
# hashgraph-like-consensus's build.rs shells out to protoc via prost-build.
- run: sudo apt-get update && sudo apt-get install -y protobuf-compiler
- run: cargo clippy --all-targets --all-features --workspace --exclude chat-cli -- -D warnings