Skip to content
This repository was archived by the owner on Jan 11, 2024. It is now read-only.

Commit fc3656c

Browse files
committed
ci: add spell check action
1 parent b2da6fa commit fc3656c

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.github/config/spellcheck.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
matrix:
2+
- name: Markdown
3+
aspell:
4+
lang: en
5+
d: en_US
6+
dictionary:
7+
encoding: utf-8
8+
pipeline:
9+
- pyspelling.filters.markdown:
10+
- pyspelling.filters.html:
11+
comments: false
12+
ignores:
13+
- code
14+
- pre
15+
sources:
16+
- '**/*.md'
17+
default_encoding: utf-8

.github/workflows/main.yml

+9
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,15 @@ jobs:
3333
contents: read
3434
security-events: write
3535

36+
spell-check:
37+
name: Run spell check
38+
runs-on: ubuntu-latest
39+
steps:
40+
- name: Spellcheck Action
41+
uses: rojopolis/spellcheck-github-actions@0.24.0
42+
with:
43+
config_path: .github/config/spellcheck.yml
44+
3645
swift-package-test:
3746
name: Run Swift Package Tests
3847
uses: ./.github/workflows/swift-package.yml

0 commit comments

Comments
 (0)