#cleanup #cargo #ci #clean #cache

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

#123 in Cargo plugins

Download history 137/week @ 2024-10-20 255/week @ 2024-10-27 186/week @ 2024-11-03 254/week @ 2024-11-10 291/week @ 2024-11-17 258/week @ 2024-11-24 452/week @ 2024-12-01 477/week @ 2024-12-08 176/week @ 2024-12-15 176/week @ 2024-12-22 564/week @ 2024-12-29 143/week @ 2025-01-05 196/week @ 2025-01-12 135/week @ 2025-01-19 221/week @ 2025-01-26 240/week @ 2025-02-02

793 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

~5–13MB
~132K SLoC