mirror of
https://github.com/logos-messaging/libchat.git
synced 2026-06-28 03:59:27 +00:00
Add CI rust cache
This commit is contained in:
parent
8784a43c39
commit
356a357c4e
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -18,6 +18,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: rustup update stable && rustup default stable
|
- 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.
|
# 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: sudo apt-get update && sudo apt-get install -y protobuf-compiler
|
||||||
# chat-cli pulls in components' embedded_p2p_delivery feature, whose
|
# chat-cli pulls in components' embedded_p2p_delivery feature, whose
|
||||||
@ -34,6 +35,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: rustup update stable && rustup default stable
|
- run: rustup update stable && rustup default stable
|
||||||
- run: rustup component add clippy
|
- run: rustup component add clippy
|
||||||
|
- uses: Swatinem/rust-cache@v2
|
||||||
# hashgraph-like-consensus's build.rs shells out to protoc via prost-build.
|
# 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: sudo apt-get update && sudo apt-get install -y protobuf-compiler
|
||||||
- run: cargo clippy --all-targets --all-features --workspace --exclude chat-cli -- -D warnings
|
- run: cargo clippy --all-targets --all-features --workspace --exclude chat-cli -- -D warnings
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user