Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-murray authored Jun 2, 2023
1 parent ea6e8ed commit bf64ef1
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,24 @@
on: [push]

jobs:
test_swagger_editor_validator_remote:
test_swagger_editor_validator_service:
runs-on: ubuntu-latest
name: Swagger Editor Validator Remote
name: Swagger Editor Validator Service

# Service containers to run with `runner-job`
services:
# Label used to access the service container
swagger-editor:
# Docker Hub image
image: swaggerapi/swagger-editor
ports:
# Maps port 8080 on service container to the host 80
- 80:8080

steps:
- uses: actions/checkout@v2
- name: Validate OpenAPI definition
uses: char0n/[email protected]
with:
swagger-editor-url: http://localhost/
definition-file: my.yml

0 comments on commit bf64ef1

Please sign in to comment.