dotemacs

My Emacs configuration
git clone git://git.entf.net/dotemacs
Log | Files | Refs | LICENSE

spell_checking.yml (973B)


      1 name: Spell Checking
      2 
      3 on: [pull_request]
      4 
      5 jobs:
      6   codespell:
      7     name: Check spelling with codespell
      8     runs-on: ubuntu-latest
      9     strategy:
     10       matrix:
     11         python-version: [3.8]
     12     steps:
     13       - uses: actions/checkout@v2
     14       - name: Set up Python ${{ matrix.python-version }}
     15         uses: actions/setup-python@v2
     16         with:
     17           python-version: ${{ matrix.python-version }}
     18       - name: Install dependencies
     19         run: |
     20           python -m pip install --upgrade pip
     21           pip install codespell
     22           if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
     23       - name: Check spelling with codespell
     24         run: codespell --ignore-words=codespell.txt || exit 1
     25   misspell:
     26     name: Check spelling with misspell
     27     runs-on: ubuntu-latest
     28     steps:
     29       - uses: actions/checkout@v2
     30       - name: Install
     31         run: wget -O - -q https://git.io/misspell | sh -s -- -b .
     32       - name: Misspell
     33         run: ./misspell -error