Skip to content

Commit

Permalink
actions: confirm swagger.json is updated
Browse files Browse the repository at this point in the history
  • Loading branch information
booxter committed May 24, 2024
1 parent e0cf75d commit 6ee1429
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/swagger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Swagger
on: [push, pull_request]
jobs:
swagger:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .
- name: Validate swagger.json
run: |
diff -u swagger.json <(swagger)

0 comments on commit 6ee1429

Please sign in to comment.