diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e25dba23..a22bcf13 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,13 @@ permissions: contents: read jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - run: pip install --user ruff + - run: ruff --format=github --ignore=E40,E7,F40,F821,F841 + --line-length=213 --target-version=py37 . build: runs-on: ${{ matrix.os }} @@ -28,10 +35,3 @@ jobs: python-version: ${{ matrix.python-version }} - name: Test run: python -m unittest discover - lint: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - run: pip install --user ruff - - run: ruff --format=github --ignore=E40,E7,F40,F821,F841 - --line-length=213 --target-version=py37 .