From 051768b73549d7e3cd4a816990fb847899dec1cf Mon Sep 17 00:00:00 2001 From: Dongxu Wang Date: Thu, 24 Nov 2022 14:46:50 +0800 Subject: [PATCH] ci: add spell check with typos (#627) --- .github/workflows/develop.yml | 7 +++++++ typos.toml | 2 ++ 2 files changed, 9 insertions(+) create mode 100644 typos.toml diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index 33f0dadc98..c9e5f93f9c 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -26,6 +26,13 @@ env: RUST_TOOLCHAIN: nightly-2022-07-14 jobs: + typos: + name: Spell Check with Typos + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: crate-ci/typos@v1.0.4 + check: name: Check if: github.event.pull_request.draft == false diff --git a/typos.toml b/typos.toml new file mode 100644 index 0000000000..b8bff9fe48 --- /dev/null +++ b/typos.toml @@ -0,0 +1,2 @@ +[default.extend-words] +ue = "ue"