Skip to content

Commit 34a52f8

Browse files
committed
enabling linting
1 parent ef60e57 commit 34a52f8

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/lint.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Lint
2+
3+
on:
4+
push:
5+
paths:
6+
- '**.ino'
7+
- '**.ini'
8+
- '**.cpp'
9+
- '**.hpp'
10+
- '**.h'
11+
- '**.c'
12+
- '**lint.yml'
13+
14+
pull_request:
15+
branches:
16+
- main
17+
18+
workflow_dispatch:
19+
20+
jobs:
21+
22+
lint:
23+
runs-on: ubuntu-latest
24+
steps:
25+
- uses: actions/checkout@v2
26+
- uses: arduino/arduino-lint-action@v1
27+
with:
28+
project-type: library
29+
library-manager: false
30+
recursive: true
31+
32+

0 commit comments

Comments
 (0)