Skip to content

ci: validate configs in PRs #1

ci: validate configs in PRs

ci: validate configs in PRs #1

name: Validate Configs
on:
pull_request:
branches:
- main
permissions:
contents: read
jobs:
validate-config:
name: Validate Configs
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- name: Validate JSON schema
uses: dsanders11/json-schema-validate-action@5f3437cf9902d2ccdf37d3b392e9532f10b8bc1b # v1.1.0
with:
schema: json-schema
files: evm-config.schema.json
- name: Validate GitHub Actions workflows
uses: dsanders11/json-schema-validate-action@5f3437cf9902d2ccdf37d3b392e9532f10b8bc1b # v1.1.0
with:
schema: https://json.schemastore.org/github-workflow.json
files: .github/workflows/*.yml
- name: Validate .prettierrc.json
uses: dsanders11/json-schema-validate-action@5f3437cf9902d2ccdf37d3b392e9532f10b8bc1b # v1.1.0
with:
schema: https://json.schemastore.org/prettierrc.json
files: .prettierrc.json