[#13] Refactor after open-api-workflow d6a9fe1ff6c9ac6487839cda5907de… #1
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-oas | |
on: | |
push: | |
paths: | |
- "src/openklant/components/*/openapi.yaml" | |
- .github/workflows/oas-check.yml | |
branches: | |
- '**' | |
workflow_dispatch: | |
jobs: | |
open-api-workflow-check-oas: | |
uses: maykinmedia/open-api-workflows/.github/workflows/oas-check.yml@initial-setup | |
strategy: | |
matrix: | |
component: | |
- contactgegevens | |
- klantinteracties | |
with: | |
schema-path: 'src/openklant/components/${{ matrix.component }}/openapi.yaml' | |
schema-command: 'spectacular_for_component' | |
schema-options: "--component ${{ matrix.component }}" | |
python-version: '3.11' | |
django-settings-module: 'openklant.conf.ci' |