chore: remove payment required status code #296
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: check-specs | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
check-specs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
- name: Cache node modules | |
id: cache-node | |
uses: actions/cache@v2 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-${{ hashFiles('.github/workflows/check-specs.yml') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: Install Dependencies | |
run: npm install -g [email protected] @openapitools/[email protected] | |
- name: Check Formatting | |
run: prettier --check . | |
- name: Check Spec (Topsort Endpoints v1) | |
run: openapi-generator-cli validate -i topsort-api-v1.yml | |
- name: Check Spec (Topsort Endpoints v2) | |
run: openapi-generator-cli validate -i topsort-api-v2.yml | |
- name: Check Spec (Catalog CRUD API) | |
run: openapi-generator-cli validate -i catalog-crud-api.yml | |
- name: Check Spec (Catalog Service) | |
run: openapi-generator-cli validate -i topsort-catalog-service.yml |