-
Notifications
You must be signed in to change notification settings - Fork 77
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@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Validate JSON schema
uses: dsanders11/json-schema-validate-action@ec60131eddf6f51ed0c737fdcd28616ae1a0e564 # v1.2.0
with:
schema: json-schema
files: evm-config.schema.json
- name: Validate GitHub Actions workflows
uses: dsanders11/json-schema-validate-action@ec60131eddf6f51ed0c737fdcd28616ae1a0e564 # v1.2.0
with:
schema: https://json.schemastore.org/github-workflow.json
files: .github/workflows/*.yml
- name: Validate .prettierrc.json
uses: dsanders11/json-schema-validate-action@ec60131eddf6f51ed0c737fdcd28616ae1a0e564 # v1.2.0
with:
schema: https://json.schemastore.org/prettierrc.json
files: .prettierrc.json