Check openapi in CI
This commit is contained in:
parent
f6d2aca645
commit
c6863ba1fa
1 changed files with 25 additions and 0 deletions
25
.github/workflows/doc.yml
vendored
Normal file
25
.github/workflows/doc.yml
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
name: Documentation
|
||||
|
||||
permissions: {}
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
types: [synchronize, opened]
|
||||
|
||||
jobs:
|
||||
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.13'
|
||||
cache: 'pip'
|
||||
|
||||
- run: pip install openapi-spec-validator
|
||||
|
||||
- run: openapi-spec-validator support/doc/api/openapi.yaml
|
Loading…
Add table
Reference in a new issue