Skip to content

Commit 14586bf

Browse files
committed
Linting with locally installed spectral-cli
1 parent 276429a commit 14586bf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/lint.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@ jobs:
2525
run: npm install -g @stoplight/spectral-cli
2626
- name: Run Spectral Linting
2727
id: lint
28-
run: spectral lint specs/* -o lint-result.json -f json --quiet || true
28+
run: spectral lint ./specs/* -o lint-result.json -f json --quiet || true
29+
30+
- id: dump result
31+
shell: bash
32+
run: cat lint-result.json
2933

3034
- name: Count Errors and Warnings
3135
id: count-errors-and-warnings

0 commit comments

Comments
 (0)