diff --git a/.github/workflows/swagger-editor.yml b/.github/workflows/swagger-editor.yml index e69dfe5..1cf8c8d 100644 --- a/.github/workflows/swagger-editor.yml +++ b/.github/workflows/swagger-editor.yml @@ -1,22 +1,45 @@ -# https://github.com/marketplace/actions/swagger-editor-validator name: Swagger Editor + 'on': + push: + branches: + - '**' + pull_request: + branches: + - '**' + schedule: + - cron: 0 1 * * * + workflow_dispatch: null + jobs: + validate: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Install dependencies + + run: sudo apt-get install -y libxkbcommon-x11-0 + - name: Validate OpenAPI definition - uses: char0n/swagger-editor-validate@v1.4.1 + + uses: char0n/swagger-editor-validate@v1.3.2 + with: + definition-file: openbanking-us.yaml