From 34c47b15f852f24008c0f1534b123b2ac124f7e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Sat, 7 Oct 2023 14:11:41 +0200 Subject: [PATCH] Run Typos in CI --- .github/workflows/build.yml | 12 ++++++++++++ .typos.toml | 10 ++++++++++ 2 files changed, 22 insertions(+) create mode 100644 .typos.toml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d6828ae80..4bbfd4894 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -208,3 +208,15 @@ jobs: files: temp/coverage.xml flags: unittests fail_ci_if_error: true + + typos-check: + name: "Typos" + + runs-on: "ubuntu-latest" + + steps: + - name: "Checkout" + uses: "actions/checkout@v3" + + - name: "Search for misspellings" + uses: "crate-ci/typos@v1.16.17" diff --git a/.typos.toml b/.typos.toml new file mode 100644 index 000000000..5f43f72e5 --- /dev/null +++ b/.typos.toml @@ -0,0 +1,10 @@ +[files] +extend-exclude = [ + ".git/", +] +ignore-hidden = false + +[default] +extend-ignore-re = [ + "const BA =", +]