Skip to content
Snippets Groups Projects
Commit fb370f4f authored by Dan Lorenc's avatar Dan Lorenc
Browse files

Validate the swagger schema as part of CI.

Also add the "openapi" branch to CI.
parent cf192c07
No related branches found
No related tags found
No related merge requests found
......@@ -6,9 +6,9 @@ name: CI
# events but only for the main branch
on:
push:
branches: [ main ]
branches: [ main, openapi]
pull_request:
branches: [ main ]
branches: [ main, openapi ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
......@@ -36,3 +36,6 @@ jobs:
GOROOT: ""
with:
args: ./...
- name: Swagger
uses: docker://quay.io/goswagger/swagger
run: swagger validate openapi.yaml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment