forked from ONLYOFFICE/office-js-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bfc7bed
commit 57b5123
Showing
2 changed files
with
27 additions
and
15 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,25 @@ | ||
name: Spellcheck Action | ||
name: spellcheck aspell | ||
on: push | ||
|
||
jobs: | ||
build: | ||
name: Spellcheck | ||
spelling: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: rojopolis/[email protected] | ||
name: Spellcheck | ||
- name: Set up Python 3.7 | ||
uses: actions/setup-python@v4 | ||
with: | ||
config_path: spellcheck/spellcheck.yml # put path to configuration file here | ||
task_name: Markdown | ||
python-version: 3.7 | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip setuptools | ||
python -m pip install pyspelling | ||
- name: Install Aspell | ||
run: | | ||
sudo apt-get install aspell aspell-en | ||
- name: Build documents | ||
run: | | ||
# Perform any documentation building that might be required | ||
- name: Spell check | ||
run: | | ||
python -m pyspelling -c spellcheck/spellAspell.yml |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
matrix: | ||
- name: Markdown | ||
sources: | ||
- '**/**/*.md' | ||
default_encoding: utf-8 | ||
hunspell: | ||
aspell: | ||
lang: en | ||
d: en_US | ||
mode: markdown | ||
ignore-case: true | ||
dictionary: | ||
wordlists: | ||
- spellcheck/wordlist.txt # <-- put path to custom dictionary file here | ||
- spellcheck/wordlistHunspell.txt | ||
encoding: utf-8 | ||
pipeline: | ||
- pyspelling.filters.markdown: | ||
markdown_extensions: | ||
- pymdownx.superfences | ||
- pyspelling.filters.html: | ||
comments: false | ||
ignores: | ||
- code | ||
- pre | ||
- pre | ||
sources: | ||
- '**/**/*.md' | ||
default_encoding: utf-8 |