Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output appropriate arduino-lint --library-manager setting #26

Merged
merged 1 commit into from
Apr 30, 2021
Merged

Output appropriate arduino-lint --library-manager setting #26

merged 1 commit into from
Apr 30, 2021

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 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