Skip to content

Commit

Permalink
fix: use updated syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
kanadgupta committed Dec 4, 2024
1 parent b305824 commit 9ba3eb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,12 @@ jobs:
with:
rdme: openapi validate "oas-examples-repo/3.1/json/petstore.json"

- name: Run `openapi:validate` on an invalid file
- name: Run `openapi validate` on an invalid file
uses: ./rdme-repo/
id: openapi-validate-fail
continue-on-error: true
with:
rdme: openapi:validate rdme-repo/__tests__/__fixtures__/invalid-oas.json
rdme: openapi validate rdme-repo/__tests__/__fixtures__/invalid-oas.json

- name: Assert that previous validation step failed
if: ${{ steps.openapi-validate-fail.outcome == 'failure' }}
Expand Down

0 comments on commit 9ba3eb8

Please sign in to comment.