This is an automated email from the ASF dual-hosted git repository.

alamb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion.git


The following commit(s) were added to refs/heads/main by this push:
     new ea8c287855 Update cache key used in rust CI script (#11641)
ea8c287855 is described below

commit ea8c287855ae799573a56697db63e7b16edf3a37
Author: Piotr Findeisen <[email protected]>
AuthorDate: Mon Jul 29 12:59:37 2024 +0200

    Update cache key used in rust CI script (#11641)
    
    * Remove misplaced comment
    
    The comment is in `linux-build-lib` and refers to `linux-build-lib` as
    to some other thing.
    
    * Hash all Cargo.toml files for cargo cache key on CI
    
    * Hash all Cargo.lock files for cargo cache key on CI
---
 .github/workflows/rust.yml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 4a41fd542e..45abeb8f6f 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -62,8 +62,7 @@ jobs:
             ~/.cargo/git/db/
             ./target/
             ./datafusion-cli/target/
-          # this key equals the ones on `linux-build-lib` for re-use
-          key: cargo-cache-benchmark-${{ hashFiles('datafusion/**/Cargo.toml', 
'benchmarks/Cargo.toml', 'datafusion-cli/Cargo.toml') }}
+          key: cargo-cache-${{ hashFiles('**/Cargo.toml', '**/Cargo.lock') }}
 
       - name: Check datafusion without default features
         # Some of the test binaries require the parquet feature still


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to