- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 2.2k
 
Simplify registry validation check workflows #5845
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
Conversation
8ee36ba    to
    19a742c      
    Compare
  
    19a742c    to
    74dbd56      
    Compare
  
    9a2dd32    to
    d89b0e9      
    Compare
  
    There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are now obsolete/superfluous and so should be removed:
- https://github.com/arduino/library-registry/blob/use-new-lib-engine/.github/workflows/check-python-task.yml
 Lines 60 to 75 in d89b0e9
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-python-task/Taskfile.yml python:lint: desc: Lint Python code deps: - task: poetry:install-deps cmds: - poetry run flake8 --show-source # Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-python-task/Taskfile.yml python:format: desc: Format Python files deps: - task: poetry:install-deps cmds: - poetry run black . Lines 4 to 6 in d89b0e9
[](https://github.com/arduino/library-registry/actions/workflows/test-go-integration-task.yml) [](https://github.com/arduino/library-registry/actions/workflows/check-go-task.yml) [](https://github.com/arduino/library-registry/actions/workflows/check-python-task.yml) Line 13 in d89b0e9
[](https://github.com/arduino/library-registry/actions/workflows/check-go-dependencies-task.yml) library-registry/pyproject.toml
Lines 15 to 19 in d89b0e9
pytest = "^8.3.4" invoke = "^2.2.0" black = "^24.10" flake8 = "^7.1.1" pep8-naming = "^0.14.1" 
(and runpoetry lockto sync the lockfile)- https://github.com/arduino/library-registry/blob/use-new-lib-engine/.gitignore (at least the obsolete entries)
 
          
 I've applied all the requested changes!  | 
    
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Cristian!
This PR changes the GitHub Action workflow that makes the validation check of the registry file.
Previously a golang project made for this purpose was built and run. Now it uses directly the library repository engine to perform this task. This change will simplify the maintenance of this repository since we no longer need to maintain a separate golang project.