Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #406 and preferably #193 . (Todo: decide if this closes #193 based on discussion there.)
What does this do?
It keeps using clippy-check while addressing the issues mentioned in Fail on Clippy errors in CI #406 and Explore clippy rules and apply quality of life recommendations #193.
It turns the warnings in clippy-check into errors.
It clarifies what to look for:
clippy-json-output
to indicate that this is not the execution you want to check. (This is the task that executes clippy and produces a JSON output for parsing.)clippy-results
GitHub Action that renders the JSON output into a nice web view. (This is what should be checked and referred to.)Now that all warnings are errors, I had to fix clippy warnings (turned errors) described here and here
For some reason the
clippy-results
task got created in the "Test" section in the latest run while it was created in the "Rust" section before (where the original trigger task is). This might be some internal GitHub Actions stuff, I consider it a harmless side-effect.Referenced an issue explaining the need for the change
Updated all relevant documentation in docs
Updated all code comments where relevant
Wrote tests
Updated CHANGELOG.md