Skip to content

Commit

Permalink
Comparing cli with native gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
Rushikesh Vyas committed Sep 25, 2023
1 parent 2907e6a commit 1ecd54a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,10 @@ jobs:
run: |
npm install -g @stoplight/spectral-cli
spectral lint ./base-spec.yaml --ruleset ./rules.spectral.yaml
shell: bash
shell: bash

- name: Run Spectral
uses: stoplightio/spectral-action@latest
with:
file_glob: './base-spec.yaml'
spectral_ruleset: rules.spectral.yaml

0 comments on commit 1ecd54a

Please sign in to comment.