Skip to content

Commit 1e45049

Browse files
committed
Turn codespell check into a seperate job and fail on errors
1 parent 1653112 commit 1e45049

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/lint.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,16 @@ jobs:
1717
pip install black codespell
1818
- name: Check with black
1919
run: black --check .
20+
21+
codespell:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/checkout@v2
25+
- name: Set up Python
26+
uses: actions/setup-python@v2
27+
- name: Install dependencies
28+
run: |
29+
python -m pip install --upgrade pip
30+
pip install codespell
2031
- name: Find typos with codespell
21-
run: codespell --ignore-words-list="ba,te" --quiet-level=2 --skip="*.po" || true
32+
run: codespell --ignore-words-list="ba,te" --quiet-level=2 --skip="*.po"

0 commit comments

Comments
 (0)