File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Harper
1+ name : Docs Quality
22on :
33 pull_request :
44 workflow_dispatch :
55jobs :
6+ typos :
7+ name : Spelling (typos-cli)
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Checkout
11+ uses : actions/checkout@v6
12+ - uses : crate-ci/typos@master
13+
614 harper :
715 name : Grammar and Style Check
816 runs-on : ubuntu-latest
917 steps :
1018 - name : Checkout
1119 uses : actions/checkout@v6
12-
1320 - name : Cache Harper CLI
1421 id : cache-harper
1522 uses : actions/cache@v4
2128 key : ${{ runner.os }}-harper-cli
2229 restore-keys : |
2330 ${{ runner.os }}-harper-cli
24-
2531 - name : Report cache status
2632 run : |
2733 echo "cache-hit output: '${{ steps.cache-harper.outputs.cache-hit }}'"
3238 else
3339 echo "RESULT: harper-cli binary NOT present -- full reinstall will run"
3440 fi
35-
3641 - name : Install Harper CLI
3742 if : steps.cache-harper.outputs.cache-hit != 'true'
3843 run : cargo install --locked --git https://github.com/Automattic/harper.git harper-cli
39-
4044 - name : Lint docs with Harper
4145 run : |
4246 set -uo pipefail
6266 InflectedVerbAfterTo
6367 CapitalizePersonalPronouns
6468 Dashes
65-
6669 )
6770 IGNORE_ARGS=()
6871 for rule in "${IGNORED_RULES[@]}"; do
You can’t perform that action at this time.
0 commit comments