timrogers / litra-rs

💡 Control your Logitech Litra light from the command line
MIT License
35 stars 4 forks source link

Add pre-commit config and corresponding CI hooks #22

Closed Holzhaus closed 8 months ago

Holzhaus commented 8 months ago

This adds support for https://pre-commit.com/. You can use it locally automatically run some hooks on every commit (e.g., cargo fmt, cargo clippy). In addition, this also adds a GitHub Actions workflow to run it on CI.