Skip to content

Merge pull request #19 from ezstaking/update/chains #183

Merge pull request #19 from ezstaking/update/chains

Merge pull request #19 from ezstaking/update/chains #183

Workflow file for this run

name: Validate JSON
on:
push:
paths:
- '**.json'
pull_request:
workflow_dispatch:
jobs:
verify-json-validation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: scheduleonce/[email protected]
name: Validating filenames
with:
path: '!(*.schema.json|README*|.gitignore)'
pattern: '^[a-zA-Z0-9._-]*[^\.]$'
- name: Validate chains.json schema
uses: walbo/[email protected]
with:
files: chains/**/**/chain.json
schema: chains/chain.schema.json
schema-version: draft-07
fail-on-missing-schema: true
print-valid-files: true
strict: true
allow-matching-properties: false
allow-union-types: false