Skip to content

Commit

Permalink
Add another codespell test.
Browse files Browse the repository at this point in the history
  • Loading branch information
plettich committed Dec 10, 2024
1 parent 3828b7a commit 1be281f
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions .github/workflows/rd_codespell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,21 @@ on:
pull_request:

jobs:
codespell:
name: runner / codespell
reviewdog-github-check:
name: reviewdog (github-check)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: codespell
uses: plettich/action-codespell@master
with:
reporter: github-pr-review
level: info
- uses: actions/checkout@v4
- name: Install codespell
run: |
python -m pip install -U codespell
- name: Setup reviewdog
uses: reviewdog/action-setup@v1

- name: Run reviewdog
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
codespell -q 3 -S $(paste -s -d, .codespell_skip) -I .codespell_ignore . \
| reviewdog -efm="%f:%l: %m" -name="codespell" -reporter=github-pr-check -level=warning

0 comments on commit 1be281f

Please sign in to comment.