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 2 months 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 - name: Checkout the repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: pip cache - name: Setup python
uses: buildjet/cache@v4 uses: actions/setup-python@v5
with: with:
path: ~/.cache/pip python-version: '3.x'
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: ${{ runner.os }}-pip-
- name: Install prerequisites - name: Install codespell requirements
run: sudo pip install -r ./.codespell/requirements.txt run: pip install -r ./.codespell/requirements.txt
- name: Spell check - name: Spell check
run: codespell --config=./.codespell/.codespellrc run: codespell --config=./.codespell/.codespellrc

Loading…
Cancel
Save