codespell: add GH Action for checking spelling issues

After fixing all spelling issues in #892, this will prevent us for
adding new ones.

Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
This commit is contained in:
Mario Trangoni
2021-12-29 11:11:43 +01:00
parent 746158d354
commit a8eefae123

View File

@@ -60,11 +60,24 @@ jobs:
if: ${{ failure() }} if: ${{ failure() }}
run: golangci-lint run --timeout=5m -c .golangci.yaml run: golangci-lint run --timeout=5m -c .golangci.yaml
codespell:
name: Check for spelling errors
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: codespell-project/actions-codespell@master
with:
check_filenames: true
# When using this Action in other repos, the --skip option below can be removed
skip: ./.git
ignore_words_list: calle
build: build:
runs-on: windows-2019 runs-on: windows-2019
needs: needs:
- test - test
- lint - lint
- codespell
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with: