Skip to content

Merge pull request #218 from maykinmedia/feature/182-multuple-actors-… #25

Merge pull request #218 from maykinmedia/feature/182-multuple-actors-…

Merge pull request #218 from maykinmedia/feature/182-multuple-actors-… #25

Workflow file for this run

name: lint-oas
on:
push:
paths:
- "src/openklant/components/*/openapi.yaml"
- .github/workflows/lint-oas.yml
branches:
- '**'
workflow_dispatch:
jobs:
run:
runs-on: ubuntu-latest
strategy:
matrix:
component: ['contactgegevens', 'klantinteracties']
name: Run with component ${{ matrix.component }}
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Install spectral
run: npm install -g @stoplight/spectral@5
- name: Run OAS linter
run: spectral lint ./src/openklant/components/${{ matrix.component }}/openapi.yaml