actions-rs / meta

🦀 GitHub Actions for Rust - recipes, discussions, questions and ideas
https://github.com/actions-rs
Creative Commons Zero v1.0 Universal
353 stars 15 forks source link

cargo udeps #11

Open svartalf opened 4 years ago

svartalf commented 4 years ago

Use https://github.com/est31/cargo-udeps to check if all dependencies are used

thomaseizinger commented 4 years ago

It would be cool if this action could, for each unused dependency found, open a PR that removes it!

boaz-codota commented 3 years ago

We would love to use such action. Does anyone have experience running cargo-udeps in a Github action?

est31 commented 3 years ago

There has been some recent work by @aig787: https://github.com/est31/cargo-udeps/issues/68#issuecomment-812768641

aig787 commented 3 years ago

If there's interest, I'm happy to transfer ownership of the repo over. The action itself is very similar to https://github.com/actions-rs/tarpaulin, just with slightly different artifact download logic.

erayerdin commented 2 years ago

I figured out a manual way to do that if you are interested.