diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index edb6fca..1fd6b9c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,4 +55,20 @@ jobs: - name: Run cargo clippy # TODO: Mark warnings as errors once all warnings are gone # run: cargo clippy -- -D warnings - run: cargo clippy \ No newline at end of file + run: cargo clippy + + typos: + runs-on: ubuntu-latest + timeout-minutes: 30 + steps: + - uses: actions/checkout@v4 + - 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'