This release introduces cargo-sweep
caching, a better alternative to prebuilt binaries.
- name: Sweep cache for stale files
uses: BD103/cargo-sweep@v1.3.0
with:
use-cache: true
When use-cache
is true, which is the default, this action will save the installed binary to the Github Actions cache. This will result in cargo install cargo-sweep
only being run once, with subsequent runs downloading the cached output.
This change makes prebuilt binaries far less useful. They are now discouraged due to their potential security risks, though will be supported for the time being.
This release also makes the gh-token
input optional if use-prebuilt: false
. Since this input is provided by default from ${{ github.token }}
, you do not need to change anything.
Full Changelog: v1.2.0...v1.3.0