Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-3870

Speed up CI for Rust

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      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"

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            sarutak Kousuke Saruta
            sarutak Kousuke Saruta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 5.5h
                5.5h

                Slack

                  Issue deployment