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:
Issy Long 2019-12-17 16:37:04 +00:00
parent cca8138a59
commit 4e3a846439
No known key found for this signature in database
GPG Key ID: 8247C390DADC67D4

View File

@ -130,6 +130,12 @@ jobs:
export PATH="/home/linuxbrew/.linuxbrew/bin:/usr/local/bin:/usr/bin:/bin"
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
run: |
docker pull homebrew/brew