mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-12-05 01:10:36 +00:00
Check openapi in CI
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user