Skip to content

Commit c6fb942

Browse files
devin-ai-integration[bot]Jayant Krishnamurthy
and
Jayant Krishnamurthy
committed
chore: add cargo workspaces to rust-cache action
Add workspace paths to improve cache hits for Rust builds. Co-Authored-By: Jayant Krishnamurthy <jayant@dourolabs.xyz>
1 parent 8d8bee5 commit c6fb942

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/ci-pre-commit.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,16 @@ jobs:
2727
rustup install 1.66.1
2828
- name: Cache Rust dependencies
2929
uses: Swatinem/rust-cache@v2
30+
with:
31+
workspaces: |
32+
target_chains/ethereum/sdk/stylus
33+
target_chains/cosmwasm
34+
target_chains/fuel/contracts
35+
target_chains/solana
36+
governance/remote_executor
37+
lazer
38+
pythnet/message_buffer
39+
pythnet/stake_caps_parameters
3040
- name: Install protoc
3141
uses: arduino/setup-protoc@v3
3242
with:

0 commit comments

Comments
 (0)