-
Notifications
You must be signed in to change notification settings - Fork 73
32 lines (29 loc) · 1.02 KB
/
validate-configs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Validate JSON schema
uses: dsanders11/json-schema-validate-action@80a355077d1e23287030ac8abb7e01dc46c10d89 # v1.1.2
with:
schema: json-schema
files: evm-config.schema.json
- name: Validate GitHub Actions workflows
uses: dsanders11/json-schema-validate-action@80a355077d1e23287030ac8abb7e01dc46c10d89 # v1.1.2
with:
schema: https://json.schemastore.org/github-workflow.json
files: .github/workflows/*.yml
- name: Validate .prettierrc.json
uses: dsanders11/json-schema-validate-action@80a355077d1e23287030ac8abb7e01dc46c10d89 # v1.1.2
with:
schema: https://json.schemastore.org/prettierrc.json
files: .prettierrc.json