Skip to content

Move schema to make GH action work #45

Move schema to make GH action work

Move schema to make GH action work #45

Workflow file for this run

name: Validate JSONs
on:
push:
paths:
- 'custom_components/battery_notes/data/**'
- '.github/workflows/**'
pull_request:
paths:
- 'custom_components/battery_notes/data/**'
- '.github/workflows/**'
jobs:
verify-json-validation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Validate JSON
uses: ScratchAddons/validate-json-action@master
with:
schema: custom_components/battery_notes/data/schema.json
jsons: |
custom_components/battery_notes/data/library.json