Skip to content

Commit 858dbfd

Browse files
committed
github-ci: add schema ordering check for yaml schema
1 parent 2ed12b9 commit 858dbfd

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/builds.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,9 @@ jobs:
255255
- name: Check EVE schema has all additionalProperties
256256
run: test $(cat etc/schema.json | jq 'paths( objects | (.type == "object" and (has("additionalProperties") | not) )) | join(".")' | wc -l) = "0"
257257

258+
- name: Check YAML schema ordering
259+
run: ./scripts/schema-sort.py --check rust/config/suricata-yaml.schema.json
260+
258261
almalinux-9:
259262
name: AlmaLinux 9 (schema, rust-checks)
260263
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)