Skip to content

Merge pull request #219 from trolie/218-change-schema-for-authority-o… #418

Merge pull request #219 from trolie/218-change-schema-for-authority-o…

Merge pull request #219 from trolie/218-change-schema-for-authority-o… #418

Workflow file for this run

name: 'OWASP Spectral lint'
on:
workflow_dispatch:
push:
branches:
- 1.0*
pull_request:
branches:
- 1.0*
permissions:
contents: read
jobs:
build:
name: "Bundle and Lint"
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Lint
uses: actions/setup-node@v4
with:
node-version: 20
- name: Lint
run: >-
npx --yes @redocly/cli bundle ./docs/_spec/openapi-split.yaml -o ./docs/openapi-1.0.yaml &&
npx --yes @stoplight/spectral-cli lint docs/openapi-1.0.yaml --ruleset .spectral.yaml --verbose