Update OpenAPI 3.1 Descriptions #3083
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: Lint OpenAPI Descriptions | |
on: | |
- push | |
jobs: | |
build: | |
name: Lint OpenAPI Descriptions | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Yaml Lint | |
uses: karancode/[email protected] | |
with: | |
yamllint_file_or_dir: 'descriptions/**/*.yaml' | |
yamllint_strict: false | |
yamllint_config_filepath: '.yamllint-config.yml' | |
yamllint_comment: true | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- run: npm install | |
- name: JSON Lint | |
run: npm run lint | |
- name: OpenAPI Lint | |
uses: mattpage/[email protected] | |
with: | |
entrypoints: 'descriptions/**/*.yaml' | |
config: '.redocly.yml' |