Skip to content

Single file

Single file #31

Workflow file for this run

name: Run Spectral on Pull Requests
on:
- pull_request
jobs:
build:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Lint SDK specification
uses: stoplightio/spectral-action@latest
with:
file_glob: 'sdk/*.yaml'
- name: Lint distribution specification
uses: stoplightio/spectral-action@latest
with:
file_glob: 'dist/*.yaml'