File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed
Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " Website config validation"
2+
3+ on :
4+ workflow_call :
5+
6+ jobs :
7+ schema :
8+ runs-on : " ubuntu-24.04"
9+
10+ steps :
11+ - name : " Checkout code"
12+ uses : " actions/checkout@v4"
13+
14+ - name : " Fetch JSON schema"
15+ run : " wget https://www.doctrine-project.org/schema/website-schema.json --output-document website-schema.json"
16+
17+ - name : " Validate JSON schema"
18+ run : " jsonschema website-schema.json --instance .doctrine-project.json"
Original file line number Diff line number Diff line change 1+
2+ name : " Website config validation"
3+
4+ on :
5+ pull_request :
6+ branches :
7+ - " *.x"
8+ paths :
9+ - " .doctrine-project.json"
10+ - " .github/workflows/website-schema.yml"
11+ push :
12+ branches :
13+ - " *.x"
14+ paths :
15+ - " .doctrine-project.json"
16+ - " .github/workflows/website-schema.yml"
17+
18+ jobs :
19+ json-validate :
20+ name : " Validate JSON schema"
21+ uses : " doctrine/.github/.github/workflows/website-schema.yml@use_a_valid_ref_here"
You can’t perform that action at this time.
0 commit comments