Browse Source
master4d15a2cbd9CI: Add OpenAPI Diff action (Kristaps Kaupe) Pull request description: Found this randomly, seems useful. Will validate OpenAPI spec changes. https://github.com/marketplace/actions/openapi-diff ACKs for top commit: roshii: utACK4d15a2cbd9Tree-SHA512: 3f342f52d3cb4662e1d8e738a62efc776f17d7ed0221c0d0dff6ac2a29ed20619c0b1ff34d947d55a28a48ab952184bdc28f30e2c7a77a89ec52814f1fe65c4f
1 changed files with 20 additions and 0 deletions
@ -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/openapi-diff-action@v0.23.5 |
||||
with: |
||||
head-spec: head/docs/api/wallet-rpc.yaml |
||||
base-spec: base/docs/api/wallet-rpc.yaml |
||||
Loading…
Reference in new issue