Skip to content

Commit

Permalink
Add job for "material" validation.
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Ralf <[email protected]>
  • Loading branch information
nakohdo committed Jul 31, 2024
1 parent 924ce2c commit a688962
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/validate-json.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Validate JSON files
# Validate JSON schema files
# Source: https://github.com/nhalstead/validate-json-action
# Forked from: https://github.com/marketplace/actions/validate-json
name: Validate JSON schemas for assets and materials
Expand All @@ -18,7 +18,9 @@ jobs:
with:
schema: ./schemas/asset_schema.json
jsons: ./examples/*_asset.xoma


# ,./examples/*.xomp

- name: Validate "material" JSONs
uses: nhalstead/[email protected]
with:
schema: ./schemas/material_schema.json
jsons: ./examples/*_material.xomp

0 comments on commit a688962

Please sign in to comment.