Bump markdownlint-cli from 0.41.0 to 0.42.0 (#269) #304
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: "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@d632683dd7b4114ad314bca15554477dd762a938 #v4.2.0 | |
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 |