Skip to content

Commit

Permalink
chore(ci): add typos
Browse files Browse the repository at this point in the history
  • Loading branch information
adamperkowski committed Dec 22, 2024
1 parent b590ea1 commit 9a7a9c1
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/jule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
paths:
- "examples/**/*"
- "cliq/**/*"
branches: ["main"]
pull_request:
workflow_dispatch:

Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/typos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Check for typos

on:
push:
branches: ["main"]
pull_request:
workflow_dispatch:

jobs:
check-typos:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Run spellcheck
uses: crate-ci/[email protected]
2 changes: 2 additions & 0 deletions _typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[files]
extend-exclude = ["CHANGELOG.md"]
4 changes: 2 additions & 2 deletions cliq/cliq.jule
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ impl Cliq {
self.Res = result

if self.Res["help"] {
self.DsiplayHelp()
self.DisplayHelp()
os::Exit(0)
}
}

fn DsiplayHelp(self) {
fn DisplayHelp(self) {
mut max_width := 0

for _, a in self.argmap {
Expand Down

0 comments on commit 9a7a9c1

Please sign in to comment.