From 356a357c4e275d5b70dee02cfa274dcff377e81f Mon Sep 17 00:00:00 2001 From: Jazz Turner-Baggs <473256+jazzz@users.noreply.github.com> Date: Wed, 24 Jun 2026 00:02:31 -0700 Subject: [PATCH] Add CI rust cache --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ec0cbd9..522e27d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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