You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Kousuke Saruta (Jira)" <ji...@apache.org> on 2023/09/24 17:29:00 UTC

[jira] [Created] (AVRO-3870) Speed up CI for Rust

Kousuke Saruta created AVRO-3870:
------------------------------------

             Summary: 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


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)