From 5fe7a47a850f93df2e2ef154705a8d8df468b3c8 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Mon, 17 Feb 2025 21:39:59 +0000 Subject: [PATCH] chore: add cargo workspaces to rust-cache action Add workspace paths to improve cache hits for Rust builds. Co-Authored-By: Jayant Krishnamurthy --- .github/workflows/ci-pre-commit.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci-pre-commit.yml b/.github/workflows/ci-pre-commit.yml index 0d387ef076..35a29fd3ff 100644 --- a/.github/workflows/ci-pre-commit.yml +++ b/.github/workflows/ci-pre-commit.yml @@ -27,6 +27,16 @@ jobs: rustup install 1.66.1 - name: Cache Rust dependencies uses: Swatinem/rust-cache@v2 + with: + workspaces: | + target_chains/ethereum/sdk/stylus + target_chains/cosmwasm + target_chains/fuel/contracts + target_chains/solana + governance/remote_executor + lazer + pythnet/message_buffer + pythnet/stake_caps_parameters - name: Install protoc uses: arduino/setup-protoc@v3 with: