Skip to content

Commit 954fb69

Browse files
committed
Update ajv cli
1 parent b5de558 commit 954fb69

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
run: npm install -g ajv-cli # Package page: <https://www.npmjs.com/package/ajv-cli>
2525

2626
- name: Run linter
27-
run: ajv validate --all-errors --verbose -s ./schemas/config/3.0.schema.json -d ./.rr.yaml
27+
run: ajv validate --all-errors --verbose -s ./schemas/config/3.0.schema.json --spec=draft2019 -d ./.rr.yaml
2828

2929
golangci-lint:
3030
name: Golang-CI (lint)

schemas/readme.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ This directory contains public schemas for the most important parts of applicati
77
- You can validate existing config file using the following command:
88

99
```bash
10-
docker run --rm -v "$(pwd):/src" -w "/src" node:14-alpine sh -c \
10+
docker run --rm -v "$(pwd):/src" -w "/src" node:20-alpine sh -c \
1111
"npm install -g ajv-cli && \
1212
ajv validate --all-errors --verbose \
1313
-s ./schemas/config/3.0.schema.json \
14+
--spec=draft2019 \
1415
-d ./.rr*.y*ml"
1516
```

0 commit comments

Comments
 (0)