diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 988ca76..240759f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,8 +1,8 @@ name: lint on: [push, pull_request] jobs: - run-linters: - name: Run linters + ci: + name: Run black and pylint tools runs-on: ubuntu-latest steps: @@ -12,10 +12,15 @@ jobs: - name: Set up Python uses: actions/setup-python@v1 with: - python-version: 3.8 + python-version: 3.12 + + - name: Install the latest version of uv + uses: astral-sh/setup-uv@v4 + with: + version: "latest" - name: Install Python dependencies - run: pip install black flake8 + run: pip install black flake8 pylint - name: Run linters uses: wearerequired/lint-action@v2 @@ -23,3 +28,7 @@ jobs: auto_fix: false black: true flake8: false + + - name: Analysing the code with pylint + run: | + uv run pylint $(git ls-files '*.py')