Adding PR linting action

This commit is contained in:
Luke Hagar
2024-06-05 12:21:43 -05:00
parent f30be85678
commit b83c294115

17
.github/workflows/openapi-linting.yaml vendored Normal file
View File

@@ -0,0 +1,17 @@
name: Linting
"on":
pull_request:
paths:
- pms-spec.yaml
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Speakeasy CLI
run: |
curl -fsSL https://raw.githubusercontent.com/speakeasy-api/speakeasy/main/install.sh | sh
- name: OpenAPI Lint
run: speakeasy lint openapi -s pms-spec.yaml