Skip to content

Commit

Permalink
ci: introduce typo check (openGemini#73)
Browse files Browse the repository at this point in the history
Signed-off-by: PennyYoon <525296438@qq.com>
Co-authored-by: ZhangJian He <shoothzj@gmail.com>
  • Loading branch information
Chenxulin97 and hezhangjian authored May 20, 2024
1 parent ae602d4 commit 732569f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/line_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
branches:
- main
jobs:
build:
line_lint:
name: line lint
runs-on: ubuntu-latest
steps:
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/typo_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: typo check
on:
pull_request:
branches:
- main
jobs:
typo_check:
name: typo check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check typos
uses: crate-ci/typos@master
3 changes: 3 additions & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[default.extend-words]
# abbr
"ba" = "ba"

0 comments on commit 732569f

Please sign in to comment.