Add dot to patternProperties #246
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint documents | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
lint-models: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: npm | |
- run: npm ci | |
- name: lint models | |
run: npx spectral lint ./reference/**/*.yaml --ruleset .spectral.models.yaml --fail-severity warn | |
lint-openapi: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: npm | |
- run: npm ci | |
- name: lint OpenAPI docs | |
run: npx spectral lint ./reference/**/*.yaml --ruleset .spectral.yaml |