[ 
https://issues.apache.org/jira/browse/AVRO-3870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17771466#comment-17771466
 ] 

ASF subversion and git services commented on AVRO-3870:
-------------------------------------------------------

Commit 2d97d52e8d5b6423fe86d400911b694c0bfa463d 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=2d97d52e8 ]

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: 2.5h
>  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)

Reply via email to