Add GitHub action for linting

Create main.yml with Ardunio Linter.
https://github.com/arduino/arduino-lint-action#usage
This commit is contained in:
Andrew 2022-05-03 00:04:10 +01:00 committed by Andrew Dent
parent 2374247788
commit 747b1e7d4c
1 changed files with 10 additions and 0 deletions

10
.github/workflows/main.yml vendored Normal file
View File

@ -0,0 +1,10 @@
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: arduino/arduino-lint-action@v1
with:
library-manager: update
compliance: strict