added vale to CLI #11
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check Prose with Vale | |
on: | |
pull_request: | |
paths: | |
- '**/*.md' | |
push: | |
paths: | |
- '**/*.md' | |
jobs: | |
vale: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Vale 3.9.1 | |
run: | | |
curl -sSL https://github.com/errata-ai/vale/releases/download/v3.9.1/vale_3.9.1_Linux_64-bit.tar.gz | tar -xz -C /tmp | |
sudo mv /tmp/vale /usr/local/bin/vale | |
chmod +x /usr/local/bin/vale | |
- name: Run Vale | |
run: | | |
vale . | |