korken89 / smlang-rs

A State Machine Language DSL procedual macro for Rust
Apache License 2.0
193 stars 28 forks source link

Fix clippy warnings #59

Closed oblique closed 1 year ago

oblique commented 1 year ago

This fixes clippy warnings and adds clippy in CI. I also added a missing test case.

There is a small caveat by having clippy in CI: When someone opens a PR, their CI pipeline may fail in places they never touched. This is because newer versions of clippy have for more lints.

danieleades commented 1 year ago

There is a small caveat by having clippy in CI: When someone opens a PR, their CI pipeline may fail in places they never touched. This is because newer versions of clippy have for more lints.

you can address this by pinning the compiler version for that job in CI