Skip to content

Conversation

@per1234
Copy link
Contributor

@per1234 per1234 commented Apr 30, 2021

When a submission URL is modified, it must also be checked. In this case, the arduino/arduino-lint-action's
library-manager input setting must be "update" instead of "submit", since the library is already in the index.

Since, automated testing of GitHub Actions workflows is not well supported, it's best to keep as much of the logic as
possible in the Go code of the parser. For this reason, the parser should determine the appropriate library-manager
setting and pass that to the workflow.

Demo: per1234/library-registry#44

When a submission URL is modified, it must also be checked. In this case, the `arduino/arduino-lint-action`'s
`library-manager` input setting must be "update" instead of "submit", since the library is already in the index.

Since, manual testing of GitHub Actions workflows is not well supported, it's best to keep as much of the logic as
possible in the Go code of the parser. For this reason, the parser should determine the appropriate `library-manager`
setting and pass that to the workflow.
@per1234 per1234 added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Apr 30, 2021
@per1234 per1234 requested review from silvanocerza and umbynos April 30, 2021 01:34
@per1234 per1234 merged commit 4bbdbc1 into arduino:main Apr 30, 2021
@per1234 per1234 deleted the library-manager-setting branch May 10, 2021 09:58
@per1234 per1234 self-assigned this Nov 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: code Related to content of the project itself type: enhancement Proposed improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants