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