Skip to content

Update actions/checkout digest to 8e8c483 #194

Update actions/checkout digest to 8e8c483

Update actions/checkout digest to 8e8c483 #194

name: validate-openapi-spec
on:
pull_request:
paths:
- .github/workflows/validate-openapi-spec.yml
- dropshot/tests/test_openapi.json
- dropshot/tests/test_openapi_fuller.json
workflow_dispatch:
inputs:
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
- uses: actions/setup-node@v6
with:
node-version: '24'
- name: Install our tools
shell: bash
run: |
npm install -g @apidevtools/swagger-cli
- name: Run validation
shell: bash
run: |
swagger-cli validate dropshot/tests/test_openapi.json &&
swagger-cli validate dropshot/tests/test_openapi_fuller.json