Skip to content

Release notes Klaw v2.10.0 #301

Release notes Klaw v2.10.0

Release notes Klaw v2.10.0 #301

Workflow file for this run

name: "Vale spelling and prose check"
on:
push:
branches: ["main"]
paths:
- "**.md"
pull_request:
branches: ["main"]
paths:
- "**.md"
jobs:
spell-prose-check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 #v4.1.7
with:
ref: ${{ github.ref }}
fetch-depth: 0
# While Vale offers an action, based on review dog, but that didn't work
# to catch errors that are not in files outside of the diff of the PR
# We need to run the pipeline for all files at least as long as we introduce
# new styles frequently. This is why I followed this approach for running Vale.working-directory:
# https://github.com/reviewdog/reviewdog/issues/1408
- name: Install Vale
run: |
wget https://github.com/errata-ai/vale/releases/download/v2.29.1/vale_2.29.1_Linux_64-bit.tar.gz -O vale.tar.gz
tar -xvzf vale.tar.gz vale
rm vale.tar.gz
- name: Run Vale
run: ./vale --glob='!.github/vale/styles/*' . --minAlertLevel=error --config=.vale.ini