chore: fix typo & add spell check #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: pull_request | |
jobs: | |
misc: | |
runs-on: [self-hosted, X64] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: spell check | |
run: | | |
pip install codespell==2.3.0 | |
# ignore test files, go project names, binary files via `--skip` and special var/regex via `--ignore-words` | |
git grep --cached -l '' | xargs codespell --skip 'fuzz/*,*_test.tmpl,testdata/*,*_test.go,go.mod,go.sum,*.gz' --ignore-words=.github/workflows/.ignore_words |