1
0
mirror of https://github.com/arduino/library-registry.git synced 2025-07-28 02:41:51 +03:00

Use libraries-repository-engine to validate registry

This commit is contained in:
Cristian Maglie
2025-01-29 12:35:11 +01:00
parent 32606697a3
commit 1cf374dece
2 changed files with 4 additions and 4 deletions

View File

@ -44,5 +44,8 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}
version: 3.x version: 3.x
- name: Install library-repository-engine
run: go install github.com/arduino/libraries-repository-engine@latest
- name: Validate registry data file - name: Validate registry data file
run: task registry:validate run: task registry:validate

View File

@ -172,11 +172,8 @@ tasks:
registry:validate: registry:validate:
desc: Validate registry data file desc: Validate registry data file
deps:
- task: go:build
cmds: cmds:
- | - libraries-repository-engine check-registry registry.txt
"{{.DEFAULT_GO_MODULE_PATH}}/validate-registry" registry.txt
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-yaml-task/Taskfile.yml # Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-yaml-task/Taskfile.yml
yaml:lint: yaml:lint: