Skip to content

Commit bc2e490

Browse files
authored
Merge pull request #8 from arduino/spell-check-workflow
Add CI workflow to check for commonly misspelled words
2 parents 4d56a98 + 60137cb commit bc2e490

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/spell-check.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Spell Check
2+
3+
on:
4+
pull_request:
5+
push:
6+
schedule:
7+
# Run every Tuesday at 03:00 UTC to catch breakage caused by updates to the dictionary
8+
- cron: "0 3 * * 2"
9+
10+
jobs:
11+
spellcheck:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v2
17+
18+
- name: Install Python
19+
uses: actions/setup-python@v2
20+
with:
21+
python-version: "3.8"
22+
23+
- name: Install Poetry
24+
run: pip install poetry
25+
26+
- name: Install Taskfile
27+
uses: arduino/actions/setup-taskfile@master
28+
with:
29+
repo-token: ${{ secrets.GITHUB_TOKEN }}
30+
version: 3.x
31+
32+
- name: Spell check
33+
run: task check-spelling

0 commit comments

Comments
 (0)