Skip to content

Clean up unnecessary Cargo artifacts to improve CI caching performance.

Notifications You must be signed in to change notification settings

x52dev/cargo-ci-cache-clean

Repository files navigation

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