Add vale linting as a CI step
- So that people know when the docs they've written violate our style guides.
This commit is contained in:
parent
cca8138a59
commit
4e3a846439
6
.github/workflows/tests.yml
vendored
6
.github/workflows/tests.yml
vendored
@ -130,6 +130,12 @@ jobs:
|
|||||||
export PATH="/home/linuxbrew/.linuxbrew/bin:/usr/local/bin:/usr/bin:/bin"
|
export PATH="/home/linuxbrew/.linuxbrew/bin:/usr/local/bin:/usr/bin:/bin"
|
||||||
brew readall --aliases
|
brew readall --aliases
|
||||||
|
|
||||||
|
- name: Run vale for docs linting
|
||||||
|
run: |
|
||||||
|
export PATH="/home/linuxbrew/.linuxbrew/bin:/usr/local/bin:/usr/bin:/bin"
|
||||||
|
brew install vale
|
||||||
|
vale $(brew --repo)/docs/
|
||||||
|
|
||||||
- name: Build Docker image
|
- name: Build Docker image
|
||||||
run: |
|
run: |
|
||||||
docker pull homebrew/brew
|
docker pull homebrew/brew
|
||||||
|
Loading…
x
Reference in New Issue
Block a user