CI: add openapi-spec-validator to validate the OpenAPI spec #384
Workflow file for this run
This file contains hidden or 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: Validate I-D line length | |
| on: | |
| push: | |
| branches: | |
| - "*" | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| validate_line_length: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Validate I-D line length | |
| run: if grep -nE '.{73,}' IETF-RFC.md | grep ' '; then echo "Found lines exceeding the limit"; exit -1; else echo "Validation completed successfully"; fi | |