File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66
77jobs :
88 lint :
9- name : Lint releases
9+ name : Lint OpenAPI ${{matrix.version}} releases
1010 runs-on : ubuntu-latest
11+ strategy :
12+ matrix :
13+ include :
14+ - version : ' 3.0'
15+ files : ' descriptions/**/*.yaml'
16+ - version : ' 3.1'
17+ files : ' descriptions-next/**/*.yaml'
1118 steps :
1219 - name : Checkout Code
1320 uses : actions/checkout@v4
1724 python-version : ' 3.12'
1825 - run : pip install yamllint
1926 name : Install yamllint
20- - run : yamllint -f parsable -c .yamllint-config.yml descriptions/api.github.com/*.yaml
21- name : Run yamllint on project descriptions
27+ - run : yamllint -f parsable -c .yamllint-config.yml ${{matrix.files}}
28+ name : Run yamllint on ${{matrix.version}} descriptions
2229 - name : Install NodeJS
2330 uses : actions/setup-node@v4
2431 with :
3037 - name : OpenAPI Lint
3138 uses : mattpage/redocly-cli-lint-action@v0.0.1
3239 with :
40+ # TODO: use matrix.files variable when workflow is ready to process 3.1 files
3341 entrypoints : ' descriptions/**/*.yaml'
3442 config : ' .redocly.yml'
You can’t perform that action at this time.
0 commit comments