Fix CI clippy check by removing caching #179
Merged
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.
This PR fixes a bug in the CI clippy action. Lost in the iterations on the original clippy PR (#161) was the fact that we don't want to include the cache step in the clippy action since it restores code from cache that subsequently gets picked up by cargo.
I did some local testing, then verified by testing using a draft PR (#178) to test for real, and the fix works to address the original problem of clippy errors on non-existent code.
What should remain in the clippy output for the PR in question (#141) after this fix are the real clippy errors on the actual existing code of that PR.