Skip to content

Add Butane 1.6.0 support + fix 1.5.0 missing property #87

Add Butane 1.6.0 support + fix 1.5.0 missing property

Add Butane 1.6.0 support + fix 1.5.0 missing property #87

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