Skip to content

Commit

Permalink
Running spectral as cli
Browse files Browse the repository at this point in the history
  • Loading branch information
Rushikesh Vyas committed Sep 25, 2023
1 parent ecd4b8f commit 882d5ac
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ jobs:
format: 'text'
fail-on-diff: false

- name: 'Run Spectral - CLI'
run: |
npm install -g @stoplight/spectral
spectral lint ./base.yaml
shell: bash

- name: Run Spectral
uses: stoplightio/spectral-action@latest
with:
Expand Down

0 comments on commit 882d5ac

Please sign in to comment.