Skip to content

Commit

Permalink
use 3.7 script
Browse files Browse the repository at this point in the history
  • Loading branch information
spacewander committed Dec 13, 2024
1 parent 268d1f7 commit 2e25de1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ jobs:
- uses: actions/checkout@v4
- name: spell check
run: |
python3 <(curl -s https://bootstrap.pypa.io/get-pip.py)
# the python version in self-hosted runner is 3.7, which is not supported by the latest get-pip.py
python3 <(curl -s https://bootstrap.pypa.io/pip/3.7/get-pip.py)
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

0 comments on commit 2e25de1

Please sign in to comment.