Skip to content

Commit ea8c287

Browse files
authored
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
1 parent c50fd88 commit ea8c287

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/rust.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@ jobs:
6262
~/.cargo/git/db/
6363
./target/
6464
./datafusion-cli/target/
65-
# this key equals the ones on `linux-build-lib` for re-use
66-
key: cargo-cache-benchmark-${{ hashFiles('datafusion/**/Cargo.toml', 'benchmarks/Cargo.toml', 'datafusion-cli/Cargo.toml') }}
65+
key: cargo-cache-${{ hashFiles('**/Cargo.toml', '**/Cargo.lock') }}
6766

6867
- name: Check datafusion without default features
6968
# Some of the test binaries require the parquet feature still

0 commit comments

Comments
 (0)