Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Add cargo fmt and clippy checks to GitHub action #133

Merged
merged 3 commits into from
Dec 26, 2024

Conversation

bombsimon
Copy link
Contributor

@bombsimon bombsimon commented Dec 7, 2024

  • chore: Add cargo fmt and clippy checks to GitHub action
    Followup from House keeping #117 and partly Run cargo fmt and fix all clippy reports #123 addressing these issues. This is now
    checked in the GitHub action pipeline to avoid adding new violations.
  • chore: Update actions/checkout
  • Fix clippy issues
    Remove lifetime annotations which can rely on lifetime elision.

I did not add any suggestions from #117 (comment), it feels a bit too opinionated and didn't include any explanations or reasoning. Instead I opted to use the default settings for linting.

Followup from zslayton#117 and partly zslayton#123 addressing these issues. This is now
checked in the GitHub action pipeline to avoid adding new violations.
Remove lifetime annotations which can rely on lifetime elision.
@bombsimon
Copy link
Contributor Author

How ironic I was running an old version and didn't spot clippy issues present in the latest release which is used in CI. 🥲

Copy link
Owner

@zslayton zslayton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@zslayton zslayton merged commit ff948a8 into zslayton:master Dec 26, 2024
1 check passed
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.

2 participants