Skip to content

Commit

Permalink
ci(workflow): add lint-typos job
Browse files Browse the repository at this point in the history
  • Loading branch information
ccamel committed Dec 23, 2024
1 parent 55b88c3 commit 5e5d460
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[codespell]
skip = *.pulsar.go,*.pb.go,*.pb.gw.go,*.json,*.git,*.bin,*.sum,*.mod,CHANGELOG.md,./docs
count = true
quiet-level = 3
15 changes: 15 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -233,3 +233,18 @@ jobs:
version: "v0.9.0"
env:
SHELLCHECK_OPTS: -e SC2034

lint-typos:
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Install codespell
run: |
pip install codespell==2.3.0
- name: Check for spelling errors
run: |
codespell --config .codespellrc
exit $?

0 comments on commit 5e5d460

Please sign in to comment.