Conversation
Clippy leverages `cargo check`, so running it after other tests may cause some lints to not be triggered. To increase effectiveness (and move fatal errors toward the bottom of the CI output), run clippy first. Signed-off-by: Jon Bauman <5906042+baumanj@users.noreply.github.com>
|
Thanks for the pull request! Here is what will happen next:
Thank you for contributing! |
christophermaier
left a comment
There was a problem hiding this comment.
Looks good, but can you elaborate a bit on the following?
so running it after other tests may cause some lints to not be triggered.
|
@christophermaier I'm guessing the issue is that running |
|
Hrmm... interesting 🤔 Does that suggest that we'd need to run |
In this case, I think it suffices to move it to the first position so that we don't have any previous artifacts, but it is indeed possible for clippy to miss things on account of the erroneous code not being reconsidered at all. |
|
@raskchanky @baumanj Cool, thanks for all that. 👍 |
Clippy leverages
cargo check, so running it after other tests may cause some lints to not be triggered. To increase effectiveness (and move fatal errors toward the bottom of the CI output), run clippy first.