Kaynağa Gözat

ci: add cargo caching to pre-commit workflow (#2351)

* ci: add cargo caching to pre-commit workflow

Co-Authored-By: Jayant Krishnamurthy <jayant@dourolabs.xyz>

* ci: switch to rust-cache action for better caching

- Replace manual cargo caching with Swatinem/rust-cache
- Eliminates version management risk
- Provides more sophisticated caching behavior

Co-Authored-By: Jayant Krishnamurthy <jayant@dourolabs.xyz>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Jayant Krishnamurthy <jayant@dourolabs.xyz>
devin-ai-integration[bot] 9 ay önce
ebeveyn
işleme
07f289dfaa
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 2 0
      .github/workflows/ci-pre-commit.yml

+ 2 - 0
.github/workflows/ci-pre-commit.yml

@@ -25,6 +25,8 @@ jobs:
         run: |
           rustup install 1.73.0
           rustup install 1.66.1
+      - name: Cache Rust dependencies
+        uses: Swatinem/rust-cache@v2
       - name: Install protoc
         uses: arduino/setup-protoc@v3
         with: