Skip to content

Add 1.6.0 check

Add 1.6.0 check #88

name: Validate Changes
on:
push:
paths:
- '**.json'
branches:
- main
- Release
pull_request:
paths:
- '**.json'
workflow_dispatch:
permissions:
contents: read
jobs:
verify-json-validation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Validate all json files using their own $schema properties
uses: cardinalby/schema-validator-action@v3
with:
file: 'v*/*.json|*.json'
- name: Validate butane v1.4 file using associated json schema
uses: cardinalby/schema-validator-action@v3
with:
file: 'v1.4.0/testconfig.bu'
schema: 'v1.4.0/butane-v1.4.0.json'
mode: lax
- name: Validate butane v1.5 file using associated json schema
uses: cardinalby/schema-validator-action@v3
with:
file: 'v1.5.0/testconfig.bu'
schema: 'v1.5.0/butane-v1.5.0.json'
mode: lax
- name: Validate butane v1.6 file using associated json schema
uses: cardinalby/schema-validator-action@v3
with:
file: 'v1.6.0/testconfig.bu'
schema: 'v1.6.0/butane-v1.6.0.json'
mode: lax