diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7dcbdffa..8c1ecc60 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -102,3 +102,13 @@ jobs: with: command: clippy args: --all-targets --all-features -- -D warnings + + typos: + name: Spell Check with Typos + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Use typos with config file + uses: crate-ci/typos@master + with: + config: .github/workflows/typos.toml diff --git a/.github/workflows/typos.toml b/.github/workflows/typos.toml new file mode 100644 index 00000000..7983df75 --- /dev/null +++ b/.github/workflows/typos.toml @@ -0,0 +1,7 @@ +[default] +extend-ignore-identifiers-re = [ +] + +[default.extend-words] +# Don't correct the surname "Teh" +groth = "groth"