Skip to content

Commit

Permalink
chore: add ci for typo checking (#476)
Browse files Browse the repository at this point in the history
* Create codespell.yml

* Create .codespellrc

* Update .codespellrc

* Update .codespellrc

* Update codespell.yml
  • Loading branch information
rebustron authored Jan 6, 2025
1 parent 68df858 commit a98921f
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[codespell]
ignore-words-list = Crate,crate,ser
skip = *.json,*.yml,*.toml,*.lock
23 changes: 23 additions & 0 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Codespell Check

on:
pull_request:
push:
branches:
- master

jobs:
codespell:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Install codespell
run: |
pip install codespell
- name: Run codespell
run: |
codespell --config .codespellrc

0 comments on commit a98921f

Please sign in to comment.