Skip to content

Commit 23bccb7

Browse files
authored
Upgrade JSON Schema CLI to v12.6.0 (#76)
Signed-off-by: Juan Cruz Viotti <[email protected]>
1 parent 24c0990 commit 23bccb7

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

.github/workflows/cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
package:
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: sourcemeta/jsonschema@v12.5.1
20+
- uses: sourcemeta/jsonschema@v12.6.0
2121
- uses: actions/checkout@v4
2222
- run: make lint
2323
- run: make test

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
test:
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: sourcemeta/jsonschema@v12.5.1
20+
- uses: sourcemeta/jsonschema@v12.6.0
2121
- uses: actions/checkout@v4
2222
- run: make lint
2323
- run: make test

Makefile

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ GZIP ?= gzip
1010
MKDIRP ?= mkdir -p
1111
RMRF ?= rm -rf
1212

13-
# TODO: Extend `validate` to take a directory as argument
14-
SCHEMAS = $(shell find schemas/ -type f -name '*.json')
15-
TESTS = $(shell find test/ -type f -name '*.json')
16-
1713
include generated.mk
1814

1915
# TODO: Make `jsonschema fmt` automatically detect test files
@@ -25,9 +21,9 @@ all: common test
2521
common: $(GENERATED)
2622
$(JSONSCHEMA) metaschema schemas meta
2723
$(JSONSCHEMA) lint schemas meta
28-
$(JSONSCHEMA) validate meta/schemas-root.json $(SCHEMAS)
29-
$(JSONSCHEMA) validate meta/schemas.json $(SCHEMAS)
30-
$(JSONSCHEMA) validate meta/test.json $(TESTS)
24+
$(JSONSCHEMA) validate meta/schemas-root.json schemas
25+
$(JSONSCHEMA) validate meta/schemas.json schemas
26+
$(JSONSCHEMA) validate meta/test.json test
3127
$(SHELLCHECK) scripts/*.sh
3228
./scripts/quality-schemas-tests-mirror.sh
3329
./scripts/quality-templates-xbrl-utr-mirror.sh

0 commit comments

Comments
 (0)