Skip to content
Snippets Groups Projects
Unverified Commit 2a3059da authored by dlorenc's avatar dlorenc Committed by GitHub
Browse files

Merge pull request #62 from dlorenc/ci

Validate the swagger schema as part of CI.
parents cf192c07 fb370f4f
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