Skip to content

Commit d433259

Browse files
authored
Update Arduino Lint configuration following Library Manager submission
The "Check Arduino" workflow uses Arduino Lint (via the arduino/arduino-lint-action) to check for problems with the library. Different rules are appropriate for libraries that are being prepared for submission to Arduino Library Manager when compared to after submission, when the rules must instead check for problems related to publishing new releases of an already registered library. For this reason, the action has a `library-manager` input for configuring which phase the library is in. The library was recently registered in Arduino Library Manager, which caused the "Check Arduino" workflow runs to start failing due to still using the "submit" action configuration. The problem is resolved by updating the workflow to use the "update" action configuration.
1 parent a4fbf1e commit d433259

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/check-arduino.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ jobs:
2222
uses: arduino/arduino-lint-action@v1
2323
with:
2424
compliance: specification
25-
# Change this to "update" once the library is added to the index.
26-
library-manager: submit
25+
library-manager: update
2726
# Always use this setting for official repositories. Remove for 3rd party projects.
2827
official: true
2928
project-type: library

0 commit comments

Comments
 (0)