From 49379a7edef967d113ea72faedb15ca0597ca1d0 Mon Sep 17 00:00:00 2001 From: Adam Perkowski Date: Tue, 8 Oct 2024 03:43:47 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20ci:=20add=20a=20spellcheck=20typos?= =?UTF-8?q?=20CI=20(#776)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * ✅ ci: add a spellcheck typos CI * remove changes files check --- .github/workflows/typos.yml | 15 +++++++++++++++ _typos.toml | 7 +++++++ 2 files changed, 22 insertions(+) create mode 100644 .github/workflows/typos.yml create mode 100644 _typos.toml diff --git a/.github/workflows/typos.yml b/.github/workflows/typos.yml new file mode 100644 index 00000000..901d5e71 --- /dev/null +++ b/.github/workflows/typos.yml @@ -0,0 +1,15 @@ +name: Check for typos + +on: + [push, pull_request, workflow_dispatch] + +jobs: + check-typos: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - run: git fetch origin ${{ github.base_ref }} + + - name: Run spellcheck + uses: crate-ci/typos@v1.25.0 diff --git a/_typos.toml b/_typos.toml new file mode 100644 index 00000000..38770ffe --- /dev/null +++ b/_typos.toml @@ -0,0 +1,7 @@ +[files] +extend-exclude = ["tui/cool_tips.txt"] + +[default] +extend-ignore-identifiers-re = [ + "ratatui", +]