Skip to content
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

GitHub action #68

Open
Veetaha opened this issue May 2, 2020 · 6 comments
Open

GitHub action #68

Veetaha opened this issue May 2, 2020 · 6 comments
Labels
enhancement New feature or request

Comments

@Veetaha
Copy link

Veetaha commented May 2, 2020

Would there be an interest to roll out a GitHub action for cargo-udeps so that adding this one to CI runs would be just a one-liner?
There is an awesome template by embark guys with their cargo-deny sanitizer we could use as a reference, which is nothing more than a Dockerfile and 3-4 lines of bash at it's core (link)
There is also an opened issue to think about somehow merging deny and udeps both together, but this is yet another topic :D

The action will probably reside in a separate repo (since it involves tagging versions of the action and this may interfere with cargo-udeps cli releases).

@est31
Copy link
Owner

est31 commented May 2, 2020

This is an interesting idea.

@est31 est31 added the enhancement New feature or request label May 2, 2020
@S-Coyle
Copy link

S-Coyle commented Jul 29, 2020

Was just looking for exactly this, +1 from me

@aig787
Copy link

aig787 commented Apr 3, 2021

I needed this so I took a stab at it, borrowing heavily from actions-rs. https://github.com/aig787/cargo-udeps-action. I'm happy to have it brought into the family if you want @est31.

@tisonkun
Copy link

@est31 I build a simple workflow for running cargo-udeps in GitHub Actions. It wouldn't have to build a dedicated action IMO.

https://github.com/engula/engula/runs/4332111979?check_suite_focus=true

However, installing cargo-udeps takes about 5 minutes. Could we reduce the overhead?

@mati865
Copy link

mati865 commented Nov 26, 2021

You could reduce it by caching built binary.

@est31
Copy link
Owner

est31 commented Nov 26, 2021

Yeah there is a Rust specific section in the github actions cache documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants