mirror of
https://github.com/LukeHagar/plex-api-spec.git
synced 2025-12-06 12:37:45 +00:00
Adding PR linting action
This commit is contained in:
17
.github/workflows/openapi-linting.yaml
vendored
Normal file
17
.github/workflows/openapi-linting.yaml
vendored
Normal 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
|
||||||
Reference in New Issue
Block a user