Make remote replication CLI conformant to CLI guidelines #821
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Main Documentation Checks | |
on: | |
- push | |
- pull_request | |
- workflow_dispatch | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
documentation-checks: | |
uses: canonical/documentation-workflows/.github/workflows/documentation-checks.yaml@main | |
with: | |
working-directory: 'docs' | |
openapi-check: | |
name: OpenAPI Spec Check | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install dependencies | |
run: pip install openapi-spec-validator | |
- name: Check spec | |
run: | | |
set -eux | |
openapi-spec-validator ./docs/openapi/openapi.yaml |