[#13] make CI jobs more consistent with open-api-framework related pr… #90
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-oas | |
on: | |
push: | |
paths: | |
- "src/objecttypes/api/v*/openapi.yaml" | |
- .github/workflows/lint-oas.yml | |
branches: | |
- '**' | |
workflow_dispatch: | |
jobs: | |
open-api-workflow-lint-oas: | |
uses: maykinmedia/open-api-workflows/.github/workflows/lint-oas.yml@v1 | |
strategy: | |
matrix: | |
version: | |
- v2 | |
with: | |
node-version: '18' | |
schema-path: 'src/objecttypes/api/${{ matrix.version }}/openapi.yaml' |