diff --git a/.github/workflows/jule.yml b/.github/workflows/jule.yml index a7abd48..3a2b73f 100644 --- a/.github/workflows/jule.yml +++ b/.github/workflows/jule.yml @@ -4,6 +4,7 @@ on: paths: - "examples/**/*" - "cliq/**/*" + branches: ["main"] pull_request: workflow_dispatch: diff --git a/.github/workflows/typos.yml b/.github/workflows/typos.yml new file mode 100644 index 0000000..3d8fd05 --- /dev/null +++ b/.github/workflows/typos.yml @@ -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/typos@v1.25.0 diff --git a/_typos.toml b/_typos.toml new file mode 100644 index 0000000..bf27f28 --- /dev/null +++ b/_typos.toml @@ -0,0 +1,2 @@ +[files] +extend-exclude = ["CHANGELOG.md"] diff --git a/cliq/cliq.jule b/cliq/cliq.jule index f3a6215..58af73e 100644 --- a/cliq/cliq.jule +++ b/cliq/cliq.jule @@ -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 {