Skip to content

Commit 5d15e57

Browse files
author
Patrick Bechon
committed
Use GitHub CI tool to check the Arduino lib
1 parent 25580e6 commit 5d15e57

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/cy-arduino.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Workflow to check correctness of simpit Arduino lib
2+
3+
name: CI-Arduino
4+
5+
# Controls when the workflow will run
6+
on: [push, pull_request]
7+
8+
# Two steps : static check for library and a compilation check for all examples.
9+
jobs:
10+
lint:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: arduino/arduino-lint-action@v1
15+
with:
16+
compliance: strict
17+
project-type: library
18+
- uses: arduino/compile-sketches@v1
19+
with:
20+
fqbn: 'arduino:avr:uno'

0 commit comments

Comments
 (0)