Skip to content

Commit d6520cc

Browse files
Chore: Add action step for distribution specs
1 parent 7975c8d commit d6520cc

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/lint-spec.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,14 @@ on:
55

66
jobs:
77
build:
8-
name: Run Spectral
8+
name: Lint
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v2
12+
- uses: stoplightio/spectral-action@latest
1213
- name: Lint SDK specification
13-
uses: stoplightio/spectral-action@latest
1414
with:
1515
file_glob: 'sdk/*.yaml'
16+
- name: Lint distribution specification
17+
with:
18+
file_glob: 'dist/*.yaml'

0 commit comments

Comments
 (0)