From ac2f7be67eee5f9963cd37f48d1eda56569f5bf8 Mon Sep 17 00:00:00 2001 From: Mahdi Ashrafee Date: Sun, 26 Jul 2026 06:01:35 +0600 Subject: [PATCH] ci: fix pylint workflow to use uv and resolve project dependencies --- .github/workflows/pylint.yml | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index c73e032..9d7472e 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -1,23 +1,15 @@ name: Pylint - on: [push] - jobs: build: runs-on: ubuntu-latest - strategy: - matrix: - python-version: ["3.8", "3.9", "3.10"] steps: - - uses: actions/checkout@v4 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install pylint - - name: Analysing the code with pylint - run: | - pylint $(git ls-files '*.py') + - uses: actions/checkout@v4 + - name: Install uv + uses: astral-sh/setup-uv@v3 + with: + python-version: "3.13" + - name: Install dependencies + run: uv sync --dev + - name: Analysing the code with pylint + run: uv run pylint app tests