Skip to content

Commit

Permalink
XS✔ ◾ Fixing build task "Validate .markdownlint.json" (#455)
Browse files Browse the repository at this point in the history
## Summary

### Motivation

The build has started to fail on the task "Validate .markdownlint.json".

### Technical

The issue has been fixed by passing `strict: false` to the JSON
validation task. This is now required because
<https://raw.githubusercontent.com/DavidAnson/markdownlint/main/schema/markdownlint-config-schema.json>
was recently updated to add an `$id` element, which is unsupported by
the `walbo/validate-json` action.

## Testing

### Test Types

- [ ] Unit tests
- [X] Manual tests

### Unit Test Coverage

100%
  • Loading branch information
muiriswoulfe committed Jan 15, 2024
1 parent 31949f4 commit 63e7442
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ jobs:
files: .markdownlint.json
print-valid-files: true
schema: .markdownlint.schema.json
strict: false

- name: Validate package.json – Download package.schema.json
shell: pwsh
Expand Down

0 comments on commit 63e7442

Please sign in to comment.