Skip to content

Commit

Permalink
ci: switch OpenAPI validators
Browse files Browse the repository at this point in the history
I looked into using https://github.com/daveshanley/vacuum but it doesn't have a GitHub action yet.

Signed-off-by: Michael Beemer <[email protected]>
  • Loading branch information
beeme1mr authored Feb 7, 2025
1 parent 3de06e4 commit 7b3a08d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/spec-validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ jobs:
uses: actions/checkout@v4

- name: Run OpenAPI spec validation
run: |
docker run --rm -v $PWD:/spec redocly/cli lint ./service/openapi.yaml
echo "{exit_code}={$?}" >> $GITHUB_STATE
- uses: stoplightio/[email protected]
with:
file_glob: 'service/openapi.yaml'

0 comments on commit 7b3a08d

Please sign in to comment.