Run yard in ci
This commit is contained in:
parent
53eb43e0b3
commit
6de22bae6d
4
.github/workflows/static.yml
vendored
4
.github/workflows/static.yml
vendored
|
@ -18,3 +18,7 @@ jobs:
|
||||||
ruby-version: 3.1.x
|
ruby-version: 3.1.x
|
||||||
- name: Check code
|
- name: Check code
|
||||||
run: ./scripts/bad_code.sh
|
run: ./scripts/bad_code.sh
|
||||||
|
- name: Check docs
|
||||||
|
run: |
|
||||||
|
gem install yard
|
||||||
|
yard --fail-on-warning --no-save --no-output | grep -E '(warn|error)' && exit 1 || true
|
||||||
|
|
Loading…
Reference in a new issue