Skip to content

Merge pull request #2598 from alvaropicazo/feat_2585 #115

Merge pull request #2598 from alvaropicazo/feat_2585

Merge pull request #2598 from alvaropicazo/feat_2585 #115

---
name: spell check
on:
push:
branches:
- "**"
pull_request:
paths:
- 'docs/*.md'
types: [opened, edited, synchronize, reopened]
env:
SPELL_CHECK_DISABLED: false
jobs:
check-spelling:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
# Install the dependencies for spell check.
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
python -m pip install pyspelling
sudo apt-get install hunspell hunspell-en-us aspell aspell-en
- uses: actions/checkout@v2
- name: Spellcheck
if: ${{ env.SPELL_CHECK_DISABLED == 'false' }}
uses: rojopolis/spellcheck-github-actions@0.34.0
with:
config_path: .github/.spellcheck.yaml
source_files: 'docs/*.md' # name of the file to check the spell
task_name: Markdown