CI: Add official codespell action with PR annotations

This commit is contained in:
Rémi Verschelde 2023-02-01 10:50:52 +01:00
parent e52213e2fa
commit 435bf4e030
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 8 additions and 0 deletions

View File

@ -71,3 +71,11 @@ jobs:
- name: Style checks via dotnet format (dotnet_format.sh) - name: Style checks via dotnet format (dotnet_format.sh)
run: | run: |
bash ./misc/scripts/dotnet_format.sh bash ./misc/scripts/dotnet_format.sh
- name: Spell checks via codespell
uses: codespell-project/actions-codespell@v1
with:
skip: ./.*,./**/.*,./bin,./thirdparty,*.desktop,*.gen.*,*.po,*.pot,*.rc,./AUTHORS.md,./COPYRIGHT.txt,./DONORS.md,./core/input/gamecontrollerdb.txt,./core/string/locales.h,./editor/project_converter_3_to_4.cpp,./misc/scripts/codespell.sh,./platform/android/java/lib/src/com,./platform/web/node_modules,./platform/web/package-lock.json
check_hidden: false
ignore_words_list: curvelinear,doubleclick,expct,findn,gird,hel,inout,lod,nd,numer,ot,te
only_warn: true