fix: sort out codespell (#4679)

### Description

fix: sort out codespell. Try using the official setup python action

### Drive-by changes

na

### Related issues

na

### Backward compatibility

yes?

### Testing

ci

Signed-off-by: pbio <10051819+paulbalaji@users.noreply.github.com>
ameten/non-native-token
Paul Balaji 1 month ago committed by GitHub
parent 0301055abc
commit 5f4540ed4e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 12
      .github/workflows/codespell.yml

@ -21,15 +21,13 @@ jobs:
- name: Checkout the repository
uses: actions/checkout@v4
- name: pip cache
uses: buildjet/cache@v4
- name: Setup python
uses: actions/setup-python@v5
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: ${{ runner.os }}-pip-
python-version: '3.x'
- name: Install prerequisites
run: sudo pip install -r ./.codespell/requirements.txt
- name: Install codespell requirements
run: pip install -r ./.codespell/requirements.txt
- name: Spell check
run: codespell --config=./.codespell/.codespellrc

Loading…
Cancel
Save