Skip to content

Commit

Permalink
ci: initial workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Connor-Bernard committed Mar 4, 2024
1 parent e2deef7 commit b00ffbe
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/swagger_validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: swagger

on: [push, pull_request]

jobs:
swagger:
runs-on: ubuntu-latest
name: Swagger Editor Validator Service
services:
swagger-editor:
image: swaggerapi/swagger-editor
ports:
- 80:8080
steps:
- uses: actions/checkout@v2
- name: Validate Swagger Spec
uses: char0n/swagger-editor-validate@v1
with:
definition-file: app/assets/swagger.json

0 comments on commit b00ffbe

Please sign in to comment.