-
Notifications
You must be signed in to change notification settings - Fork 16
96 lines (77 loc) · 2.16 KB
/
spell-check.yaml
File metadata and controls
96 lines (77 loc) · 2.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
name: Spell Check
on:
pull_request:
push:
branches: [master]
jobs:
cspell-spellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install cspell
run: npm install -g cspell
- name: Run cspell on markdown files
run: npx cspell --locale en-US --show-suggestions "**/*.md"
write-good:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Install write-good
run: npm install -g write-good
- name: Run write-good on Markdown files
run: npx write-good *.md
alex:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Install alex
run: npm install -g alex
- name: Run alex on Markdown files
run: npx alex *.md
proselint:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install proselint
run: |
npm install -g proselint
pip install proselint
- name: Run proselint on Markdown files
run: npx proselint *.md
# vale:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout Repository
# uses: actions/checkout@v3
# - name: Install snapd and Vale
# run: |
# sudo apt-get update
# sudo apt-get install -y snapd
# sudo snap install vale
# - name: Create Vale configuration
# run: |
# echo "StylesPath = styles" > .vale.ini
# echo "" >> .vale.ini
# echo "[*.md]" >> .vale.ini
# echo "BasedOnStyles = Vale" >> .vale.ini
# - name: Run vale on Markdown files
# run: vale "**/*.md"