Rename ssh_keys
to ssh_public_keys
in instance create
#2747
Workflow file for this run
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: 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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} # see omicron#4461 | |
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1 | |
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 |