Browse Source

Merge JoinMarket-Org/joinmarket-clientserver#1640: CI: Add OpenAPI Diff action

4d15a2cbd9 CI: 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:
    utACK 4d15a2cbd9

Tree-SHA512: 3f342f52d3cb4662e1d8e738a62efc776f17d7ed0221c0d0dff6ac2a29ed20619c0b1ff34d947d55a28a48ab952184bdc28f30e2c7a77a89ec52814f1fe65c4f
master
Kristaps Kaupe 2 years ago
parent
commit
2b960df561
No known key found for this signature in database
GPG Key ID: 33E472FE870C7E5D
  1. 20
      .github/workflows/openapi-diff.yml

20
.github/workflows/openapi-diff.yml

@ -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…
Cancel
Save