-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (37 loc) · 959 Bytes
/
validate-model.yml
File metadata and controls
42 lines (37 loc) · 959 Bytes
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
33
34
35
36
37
38
39
40
41
42
name: Validate EVA Data Model
on:
pull_request:
branches:
- main
paths:
- 'model/**'
- 'schema/**'
- 'scripts/assemble-model.ps1'
- 'scripts/validate-model.ps1'
push:
branches:
- main
paths:
- 'model/**'
- 'schema/**'
- 'scripts/assemble-model.ps1'
- 'scripts/validate-model.ps1'
workflow_dispatch:
jobs:
validate:
name: Assemble + Validate Model
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Assemble eva-model.json (27 layers → single file)
shell: pwsh
run: pwsh scripts/assemble-model.ps1
- name: Validate cross-references (must exit 0)
shell: pwsh
run: |
pwsh scripts/validate-model.ps1
if ($LASTEXITCODE -ne 0) {
Write-Host "::error::validate-model.ps1 reported violations — see output above"
exit 1
}