Skip to content

feat(docs): converting concepts to a single page #248

feat(docs): converting concepts to a single page

feat(docs): converting concepts to a single page #248

Workflow file for this run

name: Spell Checking
on:
pull_request:
branches:
- "**"
jobs:
spellcheck:
name: Check Spelling with custom Python script
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
steps:
# Step 1: Checkout the code
- name: Checkout code
uses: actions/checkout@v2
# Step 2: Set up Python
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
# Step 3: Install dependencies
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y aspell aspell-en # Install aspell and the English dictionary
python -m pip install --upgrade pip
pip install spacy markdown-it-py pyspellchecker
python -m spacy download en_core_web_sm # Install spaCy language model
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
# Step 4: Run the custom Python spell-checking script
- name: Run spell-check script
run: |
python .github/spelling/check_spelling.py || exit 1