Skip to content

Commit

Permalink
added linter
Browse files Browse the repository at this point in the history
  • Loading branch information
tobozo committed Sep 30, 2022
1 parent 81aabcf commit 10b1353
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Lint

on:
push:
paths:
- '**.ino'
- '**.ini'
- '**.cpp'
- '**.hpp'
- '**.h'
- '**.c'
- '**lint.yml'

pull_request:
branches:
- main

workflow_dispatch:

jobs:

lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: arduino/arduino-lint-action@v1
with:
project-type: library
library-manager: false
recursive: true

0 comments on commit 10b1353

Please sign in to comment.