Skip to content

Commit

Permalink
Set up github action to lint library
Browse files Browse the repository at this point in the history
  • Loading branch information
noranraskin committed Dec 28, 2023
1 parent 8871ff8 commit cab5744
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: arduino/arduino-lint-action@v1
with:
library-manager: update
compliance: strict
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ author=Noran Raskin
maintainer=Noran Raskin <[email protected]>
sentence=Use the MT6701 magnet rotary encoder with Arduino and ESP.
paragraph=Interface with the MT6701 magnet rotary encoder with Arduino and ESP via I2C.
category=Communication
category=Sensors
url=https://github.com/noranraskin/MT6701
architectures=avr, esp32

0 comments on commit cab5744

Please sign in to comment.