Add asset meta data #27
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |
on: | |
pull_request: | |
paths: | |
- 'examples/**' | |
- 'schemas/**' | |
jobs: | |
json-schema-validation: | |
name: JSON schema validation | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Validate "asset" JSON schemas | |
uses: nhalstead/[email protected] | |
with: | |
schema: ./schemas/asset_schema.json | |
jsons: ./examples/*.xoma | |
- name: Validate "material" JSON schemas | |
uses: nhalstead/[email protected] | |
with: | |
schema: ./schemas/material_schema.json | |
jsons: ./examples/*.xomp | |