Skip to content

Commit

Permalink
new: added configs and themes validation
Browse files Browse the repository at this point in the history
  • Loading branch information
pamburus committed Jun 10, 2024
1 parent 429beb2 commit 8ddb25d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,15 @@ jobs:

- name: Check formatting
run: cargo +nightly fmt --verbose --all --check

- name: Validate configs
uses: cardinalby/schema-validator-action@v3
with:
file: 'etc/defaults/config*.yaml'
schema: 'schema/json/config.schema.json'

- name: Validate themes
uses: cardinalby/schema-validator-action@v3
with:
file: 'etc/defaults/themes/*.yaml|src/testing/assets/themes/*.yaml'
schema: 'schema/json/theme.schema.json'

0 comments on commit 8ddb25d

Please sign in to comment.