You've already forked library-registry
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:
3
.github/workflows/check-registry.yml
vendored
3
.github/workflows/check-registry.yml
vendored
@ -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
|
||||||
|
@ -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:
|
||||||
|
Reference in New Issue
Block a user