-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cargo-sweep
support
#28
Conversation
Do you have an example run of this version available? |
Yup! In this run I generated a cache that depends on Bevy 0.12, and in this run downloaded the existing cache, updated to Bevy 0.14, and purged 1.3 GiB from This is the original workflow file, which is pretty bare-bones. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, post actions seem to run in the correct order and second run cleaned up 1.3 GB which would pile up otherwise.
Let's try it out!
I won't be able to trigger the release until Saturday or Sunday though.
Oh actually, @BD103 can you add the new input parameters to the Readme as well before we merge this? |
Good catch! I'll get this done by Saturday. |
Sorry for taking so long, but the |
I've just released v1.3.0, which exposes With this, I've now "hidden" prebuilt binaries so that they can no longer be enabled. Caching is preferred because it just requires trust in https://crates.io, as compared to a random artifact uploaded to Github. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's try it out :)
I can probably release this tomorrow. |
Alice gave me collaborator privileges, so I can do so as well! (If you don't get to it first 😄) |
This adds initial integration with BD103/cargo-sweep, closing #24 and BD103/cargo-sweep#4. It is opt-in and intended to be released in v2.3.0 as a non-breaking change.
My plan after this is merged is as follows:
cargo-sweep
to~/.cargo/bin
BD103/cargo-sweep#6cargo-sweep
installation BD103/cargo-sweep#1sweep-cache
true by default as part of v3.0.0 releasecargo-sweep
in general