#cargo #cleanup #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

#68 in Cargo plugins

Download history 251/week @ 2024-04-03 155/week @ 2024-04-10 117/week @ 2024-04-17 150/week @ 2024-04-24 706/week @ 2024-05-01 807/week @ 2024-05-08 666/week @ 2024-05-15 184/week @ 2024-05-22 220/week @ 2024-05-29 1561/week @ 2024-06-05 386/week @ 2024-06-12 545/week @ 2024-06-19 375/week @ 2024-06-26 333/week @ 2024-07-03 125/week @ 2024-07-10 371/week @ 2024-07-17

1,229 downloads per month

MIT/Apache

10KB
54 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–13MB
~131K SLoC