Merge pull request #896 from mjtrangoni/add-codespell

codespell: add GH Action for checking spelling issues
This commit is contained in:
Ben Reedy
2022-01-03 08:03:05 +10:00
committed by GitHub

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: