Skip to content

Commit bcf864b

Browse files
committed
ci: add spell check job
1 parent d611d33 commit bcf864b

File tree

2 files changed

+22
-11
lines changed

2 files changed

+22
-11
lines changed

.github/workflows/ci.yaml

+16-10
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,19 @@ jobs:
66
tests:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v4
10-
- uses: cachix/install-nix-action@v25
11-
with:
12-
github_access_token: ${{ secrets.GITHUB_TOKEN }}
13-
- uses: cachix/cachix-action@v14
14-
with:
15-
name: syndicationd
16-
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
17-
- run: nix develop .#ci --accept-flake-config --command just check
18-
9+
- uses: actions/checkout@v4
10+
- uses: cachix/install-nix-action@v25
11+
with:
12+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
13+
- uses: cachix/cachix-action@v14
14+
with:
15+
name: syndicationd
16+
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
17+
- run: nix develop .#ci --accept-flake-config --command just check
18+
spell_check:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/checkout@v4
22+
- uses: crate-ci/typos@v1.18.2
23+
with:
24+
config: "./typos.toml"

typos.toml

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
[files]
2-
extend-exclude = ["crates/synd_api/src/client/github/schema.json", "CHANGELOG.md"]
2+
extend-exclude = [
3+
# Could not fix github api typo
4+
"crates/synd_api/src/client/github/schema.json",
5+
# Ignore commit message typo
6+
"CHANGELOG.md",
7+
]
38

49
[default.extend-words]
510
"ratatui" = "ratatui"

0 commit comments

Comments
 (0)