File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 steps :
2020 - run : sudo snap install jsonschema
2121 - uses : actions/checkout@v4
22- - run : make
22+ - run : make ci-lint
23+ - run : make ci-test
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ SHELLCHECK = shellcheck
44# TODO: Extend `validate` to take a directory as argument
55SCHEMAS = $(shell find schemas/ -type f -name '* .json')
66
7- all :
7+ all : .always
88 $(JSONSCHEMA ) fmt conventions.json --verbose
99 $(JSONSCHEMA ) metaschema conventions.json --verbose
1010 $(JSONSCHEMA ) lint conventions.json --verbose
1616 ./scripts/schemas-tests-mirror.sh
1717 $(JSONSCHEMA ) test ./tests --verbose
1818
19+ ci-lint : .always
20+ $(JSONSCHEMA ) fmt conventions.json --verbose --check
21+ $(JSONSCHEMA ) metaschema conventions.json --verbose
22+ $(JSONSCHEMA ) lint conventions.json --verbose
23+ $(JSONSCHEMA ) fmt --verbose --check
24+ $(JSONSCHEMA ) metaschema --verbose
25+ $(JSONSCHEMA ) validate conventions.json --verbose $(SCHEMAS )
26+ $(JSONSCHEMA ) lint --verbose
27+ $(SHELLCHECK ) scripts/* .sh
28+ ./scripts/schemas-tests-mirror.sh
29+
30+ ci-test : .always
31+ $(JSONSCHEMA ) test ./tests --verbose
32+
1933.always :
You can’t perform that action at this time.
0 commit comments