From 884787bbb23c43789064d150d2217e1437795641 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Ri=C3=9Fe?= Date: Fri, 24 May 2024 17:32:57 +0200 Subject: [PATCH] Add a codespell lint job --- .github/workflows/lint.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 6c8e77ee5..1e3ceee21 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,6 +13,21 @@ on: - 'GSOC**' jobs: + codespell: + runs-on: ubuntu-latest + timeout-minutes: 10 + steps: + - uses: actions/checkout@v4 + - name: Set up Python 3 + uses: actions/setup-python@v5 + with: + python-version: "3.x" + - name: Lint with codespell + run: | + python -m pip install --upgrade pip + pip install codespell + git ls-files -z | xargs -0 codespell --check-filenames + flake8: runs-on: ubuntu-latest timeout-minutes: 10