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

Fix clippy warnings and add linting to CI #383

Merged
merged 11 commits into from
Nov 11, 2024

Conversation

spacebear21
Copy link
Collaborator

@spacebear21 spacebear21 commented Nov 7, 2024

This makes clippy happy. Broke it up into one commit per fixed warning for easier review.

I also added a CI linting check which fails if cargo clippy emits any warnings (and confirmed that this works by temporarily reverting a fix here).

@spacebear21 spacebear21 force-pushed the clippy-fixes branch 3 times, most recently from 4c6e426 to d55656e Compare November 7, 2024 21:47
This uses the path supplied `bash`, and will also allow the scripts to
run on NixOS where `/usr/bin/env` is shimmed for compatibility but
`/bin/bash` can't be relied on.
Copy link
Contributor

@DanGould DanGould left a comment

Choose a reason for hiding this comment

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

I added one script change to be consistent with the first commit in #384. tACK 2da1be5

@spacebear21
Copy link
Collaborator Author

Thanks!

@spacebear21 spacebear21 merged commit b1ca8c8 into payjoin:master Nov 11, 2024
5 checks passed
@spacebear21 spacebear21 changed the title Fix clippy warnings Fix clippy warnings and add linting to CI Nov 11, 2024
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