Skip to content

Fix clippy warnings and add linting to CI#383

Merged
spacebear21 merged 11 commits intopayjoin:masterfrom
spacebear21:clippy-fixes
Nov 11, 2024
Merged

Fix clippy warnings and add linting to CI#383
spacebear21 merged 11 commits intopayjoin:masterfrom
spacebear21:clippy-fixes

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
@spacebear21 spacebear21 requested a review from DanGould November 7, 2024 21:48
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
@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

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants