Skip to content

Commit e85fc32

Browse files
samsharatnagorra
authored andcommitted
feat: integrate create-ci/typos for automated spelling checks in CI
1 parent b840753 commit e85fc32

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed

.changeset/lazy-yaks-judge.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"go-web-app": patch
3+
---
4+
5+
Integrate `crate-ci/typos` for code spell checking

.github/workflows/ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,17 @@ jobs:
241241
#
242242
# - name: Typecheck
243243
# run: pnpm typecheck
244+
245+
typos:
246+
name: Spell Check with Typos
247+
runs-on: ubuntu-latest
248+
steps:
249+
- name: Checkout Actions Repository
250+
uses: actions/checkout@v4
251+
252+
- name: Check spelling
253+
uses: crate-ci/[email protected]
254+
244255
build:
245256
name: Build GO Web App
246257
environment: 'test'

typos.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[files]
2+
extend-exclude = [
3+
"packages/e2e-tests/playwright-report/*",
4+
"translationMigrations/*",
5+
"patches/*",
6+
"CHANGELOG.md"
7+
]
8+
[default.extend-identifiers]
9+
CoordinatedAssessementIcon = "CoordinatedAssessementIcon"
10+
evidence_of_sucess = "evidence_of_sucess"
11+
[default.extend-words]
12+
Teh = "Teh"
13+
OT = "OT"
14+
MENA = "MENA"
15+
ANC = "ANC"
16+
OTHR = "OTHR"

0 commit comments

Comments
 (0)