diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ed2b3961782c8..62bb889852a74 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -182,6 +182,21 @@ jobs: echo 'To fix toml fmt, please run `taplo fmt`' echo 'Or if you use VSCode, use the Even Better Toml extension' + typos: + runs-on: ubuntu-latest + timeout-minutes: 30 + steps: + - name: Check for typos + uses: crate-ci/typos@v1.18.2 + - name: Typos info + if: failure() + run: | + echo 'To fix typos, please run `typos -w`' + echo 'To check for a diff, run `typos`' + echo 'You can find typos here: https://crates.io/crates/typos' + echo 'if you use VSCode, you can also install `Typos Spell Checker' + echo 'You can find the extension here: https://marketplace.visualstudio.com/items?itemName=tekumara.typos-vscode' + run-examples-on-windows-dx12: runs-on: windows-latest