Add support for dual-stack external addressing #5871
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-openapi-spec | |
| on: | |
| pull_request: | |
| paths: | |
| - .github/workflows/validate-openapi-spec.yml | |
| - openapi/* | |
| workflow_dispatch: | |
| inputs: | |
| jobs: | |
| format: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha }} # see omicron#4461 | |
| - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 | |
| with: | |
| node-version: '18' | |
| - name: Install our tools | |
| shell: bash | |
| run: | | |
| npm install -g @apidevtools/swagger-cli | |
| - name: Run validation | |
| shell: bash | |
| run: | | |
| for spec in openapi/*.json; do | |
| swagger-cli validate $spec || exit | |
| done |