Skip to content

Commit 16c99ec

Browse files
committed
Run codespell on CI
This commit introduces a codespell config skipping over non-code files and a CI job running codespell using the config. Issue: payjoin#561
1 parent 529deeb commit 16c99ec

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.codespellrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[codespell]
2+
skip = .git,target,Cargo.toml,Cargo.lock,Cargo-minimal.lock,Cargo-recent.lock
3+
ignore-words-list = crate,ser

.github/workflows/rust.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,10 @@ jobs:
7373
run: bash contrib/coverage.sh
7474
- name: "Upload report to coveralls"
7575
uses: coverallsapp/github-action@v2
76+
77+
CodeSpell:
78+
name: Code spell check
79+
runs-on: ubuntu-latest
80+
steps:
81+
- uses: actions/checkout@v4
82+
- uses: codespell-project/actions-codespell@v2

0 commit comments

Comments
 (0)