Skip to content

Commit

Permalink
feat: GitHub actions integrations for spec
Browse files Browse the repository at this point in the history
  • Loading branch information
mvegter committed Mar 27, 2020
1 parent db06cb3 commit db62696
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/openapi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: OpenAPI

on:
push:
paths:
- 'spec/**'

jobs:
validate:
runs-on: ubuntu-latest

steps:
- name: Check out head branch
uses: actions/checkout@v2
with:
path: head
- name: Check out master branch
uses: actions/checkout@v2
with:
ref: master
path: base
- name: Run OpenAPI Diff (from HEAD revision)
uses: mvegter/openapi-diff-action@v0.2.0
with:
head-spec: head/spec/openapi.yaml
base-spec: base/spec/openapi.yaml

0 comments on commit db62696

Please sign in to comment.