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

feat: unused deps workflow #123

Merged
merged 5 commits into from
Nov 13, 2023

Conversation

Evalir
Copy link
Contributor

@Evalir Evalir commented Oct 31, 2023

Closes #118

Adds an unused deps workflow that will trigger at UTC 00:00 each day, or when the workflow is dispatched manually, using cargo udeps.

@oblique
Copy link
Member

oblique commented Nov 1, 2023

Thanks for your contribution!

@zvolin Do we want this once a day or as a CI job? I think it is safe to do it once a day. What do you think?

@zvolin
Copy link
Member

zvolin commented Nov 1, 2023

I think I'd prefer this on PRs job, as it's where such unused deps can be introduced and the action could be then taken immediately. Once a day would be more suited for things like cargo audit. Nevertheless thanks for the contrib @Evalir and I'm also okay with having this periodic now

@Evalir
Copy link
Contributor Author

Evalir commented Nov 1, 2023

happy to change it to run per-pr—it's a quick one

@oblique
Copy link
Member

oblique commented Nov 1, 2023

@Evalir Yes please :)

@Evalir
Copy link
Contributor Author

Evalir commented Nov 1, 2023

done :) @oblique

Copy link
Member

@oblique oblique left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I have some feedback

.github/workflows/unused-deps.yml Outdated Show resolved Hide resolved
.github/workflows/unused-deps.yml Outdated Show resolved Hide resolved
.github/workflows/unused-deps.yml Outdated Show resolved Hide resolved
.github/workflows/unused-deps.yml Outdated Show resolved Hide resolved
@zvolin zvolin force-pushed the evalir/add-unused-deps-workflow branch from 680f657 to 87261ac Compare November 10, 2023 11:25
@zvolin zvolin requested review from oblique and fl0rek November 10, 2023 11:47
Copy link
Member

@oblique oblique left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Member

@fl0rek fl0rek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, thanks for the contribution 🎸

@fl0rek fl0rek merged commit ee630f2 into eigerco:main Nov 13, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add CI job to check for unused dependencies
4 participants