Skip to content
Unverified Commit d68868f6 authored by Dónal Murray's avatar Dónal Murray Committed by GitHub
Browse files

Fix clippy lints behind feature gates and add new CI step all features (#2569)



Many clippy lints usually enforced by `-Dcomplexity` and `-Dcorrectness`
are not caught by CI as they are gated by `features`, like
`runtime-benchmarks`, while the clippy CI job runs with only the default
features for all targets.

This PR also adds a CI step to run clippy with `--all-features` to
ensure the code quality is maintained behind feature gates from now on.

To improve local development, clippy lints are downgraded to warnings,
but they still will result in an error at CI due to the `-Dwarnings`
rustflag.

---------

Co-authored-by: default avatarLiam Aharon <[email protected]>
parent 280aa0b5
Pipeline #427992 failed with stages
in 51 minutes and 12 seconds