Skip to content

Commit d18d078

Browse files
Create arduino-lint.yml
1 parent affea39 commit d18d078

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/arduino-lint.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Arduino Lint Full Check
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
lint:
9+
runs-on: ubuntu-latest
10+
steps:
11+
# Checkout the code
12+
- uses: actions/checkout@v4
13+
14+
# Run Arduino Lint with strict compliance and library-manager checks
15+
- uses: arduino/arduino-lint-action@v1
16+
with:
17+
compliance: strict # Enforce strict compliance
18+
library-manager: update # Check for Library Manager updates
19+
project-type: all # Run checks on all project types (sketch, library, platform)
20+
recursive: true # Recursively search for Arduino projects
21+
verbose: true # Enable verbose output
22+
report-file: arduino_lint_report.json # Save the report to a file

0 commit comments

Comments
 (0)