From: Joel Rosdahl Date: Sat, 30 Dec 2023 09:27:40 +0000 (+0100) Subject: ci: Add typos job X-Git-Tag: v4.9~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=307e39bf892ac666d3fbb7698268325ab745faca;p=thirdparty%2Fccache.git ci: Add typos job --- diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f485bdc6b..f1775e929 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -510,7 +510,7 @@ jobs: - name: Run Clang-Format in check mode run: misc/format-files --all --check - codespell: + spelling: timeout-minutes: 30 name: Spelling runs-on: ubuntu-22.04 @@ -520,11 +520,14 @@ jobs: - name: Get source uses: actions/checkout@v3 - - name: Install codespell + - name: Install spell checkers run: | sudo apt-get update sudo apt-get install python3-pip - pip3 install codespell==2.2.6 + pip3 install codespell==2.2.6 typos==1.16.26 - name: Run codespell run: codespell -q 7 -S ".git,build*,./misc/typos.toml,./src/third_party/*" -I misc/codespell-allowlist.txt + + - name: Run typos + run: typos -c misc/typos.toml