Skip to content

Commit

Permalink
CI: Add OpenAPI Diff action
Browse files Browse the repository at this point in the history
  • Loading branch information
kristapsk committed Jan 22, 2024
1 parent e6e8eac commit 4d15a2c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/openapi-diff.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: OpenAPI Diff
on: [push, pull_request]
jobs:
build:
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/[email protected]
with:
head-spec: head/docs/api/wallet-rpc.yaml
base-spec: base/docs/api/wallet-rpc.yaml

0 comments on commit 4d15a2c

Please sign in to comment.