You've already forked library-registry
mirror of
https://github.com/arduino/library-registry.git
synced 2025-07-23 17:21:01 +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 }}
|
||||
version: 3.x
|
||||
|
||||
- name: Install library-repository-engine
|
||||
run: go install github.com/arduino/libraries-repository-engine@latest
|
||||
|
||||
- name: Validate registry data file
|
||||
run: task registry:validate
|
||||
|
@ -172,11 +172,8 @@ tasks:
|
||||
|
||||
registry:validate:
|
||||
desc: Validate registry data file
|
||||
deps:
|
||||
- task: go:build
|
||||
cmds:
|
||||
- |
|
||||
"{{.DEFAULT_GO_MODULE_PATH}}/validate-registry" registry.txt
|
||||
- libraries-repository-engine check-registry registry.txt
|
||||
|
||||
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-yaml-task/Taskfile.yml
|
||||
yaml:lint:
|
||||
|
Reference in New Issue
Block a user