Skip to content

Commit 07f289d

Browse files
devin-ai-integration[bot]Jayant Krishnamurthy
and
Jayant Krishnamurthy
authored
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>
1 parent e0af12d commit 07f289d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
run: |
2626
rustup install 1.73.0
2727
rustup install 1.66.1
28+
- name: Cache Rust dependencies
29+
uses: Swatinem/rust-cache@v2
2830
- name: Install protoc
2931
uses: arduino/setup-protoc@v3
3032
with:

0 commit comments

Comments
 (0)