Commit bb8215a
committed
fix: update Makefile to use #SecurityInsights schema
Currently the `lintyml` step is a no-op, because it doesn't explicitly
validate against the #SecurityInsights schema.
Fix that by specifying that vet should validate non-CUE files agains
that schema. This now aligns the `cue vet` checks here with the
si-tooling usage of the #SecurityInsights Go generated code:
https://github.com/ossf/si-tooling/blob/88ed8ab93e3fe1f4aab9ccabb5452942e0325a53/v2/si/security_insights.go#L67
Also use `cue vet` to validate the schema itself. This is the more
canonical way to validate a schema.
Signed-off-by: Paul Jolly <[email protected]>1 parent 8c1c399 commit bb8215a
1 file changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
0 commit comments