Validate config file against schema (#589)

This commit is contained in:
andig 2021-01-12 21:56:54 +01:00 • committed by GitHub
parent 9ef613173a
commit 520f112d45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

24
.github/workflows/schema.yml vendored Normal file
View file

@ -0,0 +1,24 @@
name: Validate Schema
on:
push:
paths:
- "*.yaml"
- "*.json"
pull_request:
paths:
- "*.yaml"
- "*.json"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: nwisbeta/validate-yaml-schema@v1.0.3
with:
yamlSchemasJson: |
{
"./schema.json": ["evcc.dist.yaml"]
}