Skip to content

Fix lint failures on nightly, don't run nightly on PRs#48

Merged
mkj merged 4 commits intoCodeConstruct:mainfrom
mkj:pr/nightly-daily
May 4, 2026
Merged

Fix lint failures on nightly, don't run nightly on PRs#48
mkj merged 4 commits intoCodeConstruct:mainfrom
mkj:pr/nightly-daily

Conversation

@mkj
Copy link
Copy Markdown
Member

@mkj mkj commented May 4, 2026

The Rust nightly job has been failing in PRs since some new lints were added.

Resolve those lints, and instead run the nightly PR in a cronjob so that we (maintainers) can see the problems without it being noise in PRs.

mkj added 4 commits May 4, 2026 09:59
collapsible_match was extended to cover if statements.
The existing code intent is clearer than with collapsed statements, so
disable the check.

clippy changed in rust-lang/rust-clippy#16560

Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
Reported by newer clippy

Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
{:#02x} format unexpectedly doesn't produce width 2.
Instead use a manual 0x{:02x}. Reported by newer clippy.

Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
Rust nightly may fail for spurious reasons or new clippy lints. Move the
nightly version to a separate workflow that runs on a timer so that it
doesn't create noise for PRs.

Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
@mkj mkj merged commit cfa4167 into CodeConstruct:main May 4, 2026
4 checks passed
@mkj mkj deleted the pr/nightly-daily branch May 4, 2026 02:24
@mkj mkj mentioned this pull request May 4, 2026
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.

1 participant