Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

CI: add a clippy job #30

Merged
merged 28 commits into from
Nov 19, 2020
Merged

CI: add a clippy job #30

merged 28 commits into from
Nov 19, 2020

Conversation

bilelmoussaoui
Copy link
Member

No description provided.

.github/workflows/CI.yml Outdated Show resolved Hide resolved
@sdroege
Copy link
Member

sdroege commented Nov 8, 2020

Good for me, once it passes. That might take some effort though, I don't think the crates above glib/gio are clippy clean. Maybe keep them as warnings for now until it's all cleaned up? That way we at least don't introduce new warnings.

@bilelmoussaoui
Copy link
Member Author

Good for me, once it passes. That might take some effort though, I don't think the crates above glib/gio are clippy clean. Maybe keep them as warnings for now until it's all cleaned up? That way we at least don't introduce new warnings.

I will run clippy locally and see the amount of work needed, I'm willing to put some time on it to get all the warnings cleared.

@sdroege sdroege added the ci label Nov 10, 2020
@bilelmoussaoui bilelmoussaoui force-pushed the bilelmoussaoui/ci-clippy branch 7 times, most recently from 5f0c4b8 to 025c7ba Compare November 15, 2020 18:35
@bilelmoussaoui
Copy link
Member Author

@sdroege this one should be ready

atk/src/lib.rs Outdated Show resolved Hide resolved
.github/workflows/CI.yml Outdated Show resolved Hide resolved
@sdroege
Copy link
Member

sdroege commented Nov 15, 2020

Seems ok to me otherwise, thanks!

@bilelmoussaoui bilelmoussaoui force-pushed the bilelmoussaoui/ci-clippy branch 7 times, most recently from ce980b8 to 39b8f4b Compare November 15, 2020 21:58
.github/workflows/CI.yml Outdated Show resolved Hide resolved
Copy link
Member

@sdroege sdroege left a comment

Choose a reason for hiding this comment

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

Looks good to me otherwise now

@sdroege
Copy link
Member

sdroege commented Nov 16, 2020

Put a Fixes https://github.com/gtk-rs/gtk-rs/issues/17 into the commit message somewhere please :)

@sdroege
Copy link
Member

sdroege commented Nov 17, 2020

Good, the rust github action is currently broken...

as we can't run clippy with --all-features & we can't specify --features
at workspace level, workaround it for now till we can re-use --all-features again
@bilelmoussaoui
Copy link
Member Author

@sdroege should be ready

@sdroege
Copy link
Member

sdroege commented Nov 19, 2020

Thanks, will merge in a few minutes :)

@sdroege sdroege merged commit ca08014 into master Nov 19, 2020
@sdroege sdroege deleted the bilelmoussaoui/ci-clippy branch November 19, 2020 16:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

glib/translate: use matches! where applicable (see FIXME comments)
3 participants