Skip to content

Commit

Permalink
Update cache key used in rust CI script (#11641)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
findepi committed Jul 29, 2024
1 parent c50fd88 commit ea8c287
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ea8c287

Please sign in to comment.