Skip to content

Commit f589aff

Browse files
authored
Merge pull request #68 from per1234/check-taskfiles
Sync "Check Taskfiles" CI workflow with template
2 parents 66feda6 + 92a3b0d commit f589aff

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/check-taskfiles.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
matrix:
2929
file:
30-
- ./Taskfile.yml
30+
- ./**/Taskfile.yml
3131

3232
steps:
3333
- name: Checkout repository
@@ -40,15 +40,20 @@ jobs:
4040
# See: https://github.com/SchemaStore/schemastore/blob/master/src/schemas/json/taskfile.json
4141
file-url: https://json.schemastore.org/taskfile.json
4242
location: ${{ runner.temp }}/taskfile-schema
43-
file-name: taskfile.json
4443

4544
- 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
4750
4851
- name: Validate ${{ matrix.file }}
4952
run: |
5053
# See: https://github.com/ajv-validator/ajv-cli#readme
5154
ajv validate \
55+
--all-errors \
5256
--strict=false \
57+
-c ajv-formats \
5358
-s "${{ steps.download-schema.outputs.file-path }}" \
5459
-d "${{ matrix.file }}"

0 commit comments

Comments
 (0)