[
https://issues.apache.org/jira/browse/AVRO-3870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17771461#comment-17771461
]
ASF subversion and git services commented on AVRO-3870:
-------------------------------------------------------
Commit 16824481e7f34771ec2c11b02cb8eb2f51395fc2 in avro's branch
refs/heads/avro-3870-better-cache-keys from Martin Tzvetanov Grigorov
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=16824481e ]
AVRO-3870: [Rust] Use matrix.target, matrix.avro and hash of Cargo.lock for
cache keys
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
> Speed up CI for Rust
> --------------------
>
> Key: AVRO-3870
> URL: https://issues.apache.org/jira/browse/AVRO-3870
> Project: Apache Avro
> Issue Type: Improvement
> Components: build, rust
> Affects Versions: 1.12.0
> Reporter: Kousuke Saruta
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 2h 10m
> Remaining Estimate: 0h
>
> In the current master, there are something wrong about actions/cache in
> `test-lang-rust-ci.yml`.
> First, a directory "target" is tend to be cached but the path is wrong. the
> correct path is "lang/rust/target", not "~/target".
> Second, as of Rust 1.70.0, Cargo changes the way to download dependencies.
> https://blog.rust-lang.org/2023/06/01/Rust-1.70.0.html#sparse-by-default-for-cratesio
> So, it's better not to share the cache for "~/.cargo"
--
This message was sent by Atlassian Jira
(v8.20.10#820010)