logannc / fuzzywuzzy-rs

port of https://github.com/seatgeek/fuzzywuzzy
GNU General Public License v2.0
40 stars 3 forks source link

add github actions workflows + pre-commit hooks #12

Closed logannc closed 3 years ago

logannc commented 3 years ago

Runs cargo check, cargo fmt, cargo test, and clippy on all PRs and commits on master.

I also added pre-commit hooks which help prevent bad or non-functional commits. It is technically not required, but will help prevent PRs being blocked by clippy or formatting.

logannc commented 3 years ago

I expect the pre-commit and actions to be slightly off and need tweaking once or twice before it's the same.

logannc commented 3 years ago

In particular, I suspect that clippy is not running quite the same, but I'm not 100% sure. It's fine for now.

logannc commented 3 years ago

https://github.com/doublify/pre-commit-rust/pull/13 should fix the clippy issue (after updating precommit to use the new version of the hook...)