From 7cb2760434c56a7f0f866c8c217411b2b9a45e78 Mon Sep 17 00:00:00 2001 From: xieyongqi <657023321@qq.com> Date: Mon, 17 Jun 2024 16:15:46 +0800 Subject: [PATCH] add typos --- .github/workflow/ci.yml | 18 ++++++++++++++++++ typos.toml | 24 ++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 .github/workflow/ci.yml create mode 100644 typos.toml diff --git a/.github/workflow/ci.yml b/.github/workflow/ci.yml new file mode 100644 index 0000000..c7d9499 --- /dev/null +++ b/.github/workflow/ci.yml @@ -0,0 +1,18 @@ +name: CI checks + +on: + push: + branches: + - master + +jobs: + typos-check: + name: TyposCheck + timeout-minutes: 3 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: crate-ci/typos@v1.22.7 + with: + config: ./typos.toml + isolated: true diff --git a/typos.toml b/typos.toml new file mode 100644 index 0000000..bd99af0 --- /dev/null +++ b/typos.toml @@ -0,0 +1,24 @@ +[files] +ignore-files = true +ignore-hidden = false +extend-exclude = [ + ".git/", + ".gitattributes", + ".gitignore", + "Wpf_Mvvm", + "ATM", + "Some_Demo", + "MyGolang", + "Development Tool", +] + + +[default] +extend-ignore-re=[ + +] +check-filename = true + + + +