sarutak commented on code in PR #2538:
URL: https://github.com/apache/avro/pull/2538#discussion_r1344449873


##########
.github/workflows/test-lang-rust-ci.yml:
##########
@@ -59,19 +60,27 @@ jobs:
         uses: actions/checkout@v4
 
       - name: Cache Cargo
+        id: cache-cargo
         uses: actions/cache@v3
         with:
           # these represent dependencies downloaded by cargo
           # and thus do not depend on the OS, arch nor rust version.
           path: ~/.cargo
-          key: cargo-cache1-
+          key: ${{ runner.os }}-cargo-cache1-${{ matrix.target }}-${{ 
matrix.rust }}-${{ hashFiles('**/Cargo.lock') }}
+

Review Comment:
   If you don't mind, I'll update that PR with a compromised solution.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to