Skip to content

[build] caching on Ubuntu builders of GH actions does nothing #6155

@tesuji

Description

@tesuji

See this build log: https://github.com/rust-lang/rust-clippy/pull/6154/checks?check_run_id=1235351421#step:6:1

A solution is to cache only need files and subdirs: https://doc.rust-lang.org/nightly/cargo/guide/cargo-home.html#caching-the-cargo-home-in-ci.
We might also want to cache .crates.toml if we use cargo install.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-infraArea: CI issues and issues that require full access for GitHub/CI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions