File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 27
27
28
28
matrix :
29
29
file :
30
- - ./Taskfile.yml
30
+ - ./**/ Taskfile.yml
31
31
32
32
steps :
33
33
- name : Checkout repository
@@ -40,15 +40,20 @@ jobs:
40
40
# See: https://github.com/SchemaStore/schemastore/blob/master/src/schemas/json/taskfile.json
41
41
file-url : https://json.schemastore.org/taskfile.json
42
42
location : ${{ runner.temp }}/taskfile-schema
43
- file-name : taskfile.json
44
43
45
44
- name : Install JSON schema validator
46
- run : sudo npm install --global ajv-cli
45
+ run : |
46
+ sudo npm install \
47
+ --global \
48
+ ajv-cli \
49
+ ajv-formats
47
50
48
51
- name : Validate ${{ matrix.file }}
49
52
run : |
50
53
# See: https://github.com/ajv-validator/ajv-cli#readme
51
54
ajv validate \
55
+ --all-errors \
52
56
--strict=false \
57
+ -c ajv-formats \
53
58
-s "${{ steps.download-schema.outputs.file-path }}" \
54
59
-d "${{ matrix.file }}"
You can’t perform that action at this time.
0 commit comments