File tree 2 files changed +16
-24
lines changed
2 files changed +16
-24
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- name : Spell Checking
1
+ name : Spellcheck
2
2
3
3
on : [push, pull_request]
4
4
5
+ concurrency :
6
+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
7
+ cancel-in-progress : true
8
+
5
9
jobs :
6
- codespell :
7
- name : Check spelling with codespell
10
+ spellcheck :
11
+ name : Spelling
8
12
runs-on : ubuntu-latest
9
13
steps :
10
- - uses : actions/checkout@v4
11
- - name : Set up Python 3.12
12
- uses : actions/setup-python@v4
13
- with :
14
- python-version : 3.12
15
- - name : Install dependencies
16
- run : |
17
- python -m pip install --upgrade pip
18
- pip install codespell
19
- if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
20
- - name : Check spelling with codespell
21
- run : codespell --ignore-words=.github/workflows/ignore-words.txt || exit 1
14
+ - uses : actions/checkout@v4
15
+ with :
16
+ ref : ${{ github.event.pull_request.head.sha }}
17
+ show-progress : false
18
+ - uses : codespell-project/actions-codespell@master
19
+ with :
20
+ builtin : clear,en-GB_to_en-US
21
+ exclude_file : .codespell.exclude
22
+ ignore_words_file : .codespell.words.exclude
You can’t perform that action at this time.
0 commit comments