1
0
mirror of https://github.com/Prowlarr/Indexers.git synced 2026-04-29 21:00:59 +01:00
Files
Indexers/.github/workflows/ci.yml
Qstick e07c451080 New: YAML Schema Validations (#206)
* New: YAML Schema Validations

* fixup! skip json when doing ymllint

* fixup!

* fixup!

* fixup!

* fixup!

* fixup! validate login methods, filter names, captcha types

* fixup! validate tracker type

* fixup! validate tracker type

* fixup! validate category mappings use a correct category

* fixup! further download block validation

* fixup!

* fixup! validate links and legacy-links are valid urls

* fixup! validate settings types

* fixup! v6 doubanid

* fixup! v5 json filter validation

* fixup! xbit should be v5
2022-06-24 21:01:47 -05:00

36 lines
652 B
YAML

---
name: Yaml Lint
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
lint:
name: Lint Yaml
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: yamllint version
run: |
yamllint --version
- name: yamllint run
run: |
for f in `find definitions -type f -name "*.yml"`
do
echo "$f"
yamllint "$f" --format github
done
schema_validate:
name: Validate Schema
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: yaml schema check
run: |
sh ./scripts/validate.sh