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

Chore: Fix few build warnings, and make CI fail on warn #2651

Merged
merged 1 commit into from Jul 31, 2023

Conversation

nyurik
Copy link
Contributor

@nyurik nyurik commented Jul 25, 2023

Fix a few warnings and make it so that all cargo build and cargo check in CI generate errors if they encounter warnings. This will ensure cleaner code, and won't hide warnings (they tend to hide if CI doesn't show them as failures)

This PR also fixes example CI - Chat (Check) had a yaml error and misnamed target.

Note that cargo test still generates a lot of warnings, but they don't trigger build failure

@nyurik nyurik force-pushed the err-on-warn branch 3 times, most recently from 18044b5 to 794b0de Compare July 25, 2023 03:31
@nyurik nyurik marked this pull request as ready for review July 25, 2023 03:46
@nyurik nyurik changed the title Treat warnings as errors on CI builds Chore: Fix few build warnings, and make CI fail on warn Jul 25, 2023
@abonander abonander merged commit a8a0579 into launchbadge:main Jul 31, 2023
57 checks passed
@nyurik nyurik deleted the err-on-warn branch July 31, 2023 20:34
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.

None yet

2 participants