arduino-libraries / ArduinoMDNS

mDNS Library for Arduino
40 stars 13 forks source link

Update Arduino Lint configuration following Library Manager submission #25

Closed per1234 closed 1 year ago

per1234 commented 1 year ago

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.