#cleanup #ci-artifact #cargo-clean #cargo-cache #cache #improve-performance #ci #cargo

app cargo-ci-cache-clean

Clean up unnecessary Cargo artifacts to improve CI caching performance

4 releases

0.0.4 Jun 19, 2024
0.0.3 Dec 26, 2023
0.0.2 Dec 26, 2023
0.0.1 Dec 26, 2023

#236 in Cargo plugins

Download history 186/week @ 2025-03-11 245/week @ 2025-03-18 267/week @ 2025-03-25 387/week @ 2025-04-01 237/week @ 2025-04-08 224/week @ 2025-04-15 222/week @ 2025-04-22 234/week @ 2025-04-29 1015/week @ 2025-05-06 215/week @ 2025-05-13 308/week @ 2025-05-20 270/week @ 2025-05-27 67/week @ 2025-06-03 400/week @ 2025-06-10 359/week @ 2025-06-17 259/week @ 2025-06-24

1,228 downloads per month

MIT/Apache

10KB
83 lines

cargo-ci-cache-clean

Clean up unnecessary Cargo artifacts to improve CI caching performance

Install

In GitHub Actions:

# jobs.<job_name>.steps:

- name: Install cargo-ci-cache-clean
  uses: taiki-e/install-action@v2
  with:
    tool: cargo-ci-cache-clean

- name: CI cache clean
  run: cargo-ci-cache-clean

With cargo-binstall:

$ cargo binstall cargo-ci-cache-clean

From source:

$ cargo install cargo-ci-cache-clean

Usage

cargo-ci-cache-clean

Dependencies

~4–12MB
~129K SLoC