Skip to content

Commit f5857f7

Browse files
committed
Test arduino lint
Test
1 parent 3f14074 commit f5857f7

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/pre-commit.yml

+10-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ on:
66

77
jobs:
88
lint:
9-
if: |
10-
contains(github.event.pull_request.labels.*.name, 'Status: Pending Merge')
9+
#if: |
10+
# contains(github.event.pull_request.labels.*.name, 'Status: Pending Merge')
1111
name: Checking if any fixes are needed
1212
runs-on: ubuntu-latest
1313
steps:
@@ -45,6 +45,14 @@ jobs:
4545
- name: Run pre-commit hooks in changed files
4646
run: pre-commit run --color=always --show-diff-on-failure --files ${{ steps.changed-files.outputs.all_changed_files }}
4747

48+
- name: Run arduino-lint
49+
uses: arduino/arduino-lint-action@v1
50+
with:
51+
library-manager: false
52+
compliance: permissive
53+
recursive: true
54+
project-type: platform
55+
4856
- name: Save pre-commit cache
4957
uses: actions/cache/save@v4
5058
if: ${{ always() && steps.restore-cache.outputs.cache-hit != 'true' }}

0 commit comments

Comments
 (0)