Skip to content

Commit

Permalink
💚 pin OAS linter in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
annashamray committed Nov 22, 2021
1 parent 34e4244 commit 9cf7924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/lint-oas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
with:
node-version: '12'
- name: Install spectral
run: npm install -g @stoplight/spectral
run: npm install -g @stoplight/spectral@5
- name: Run OAS linter
run: spectral lint ./src/objecttypes/api/${{ matrix.version }}/openapi.yaml

0 comments on commit 9cf7924

Please sign in to comment.