diff --git a/.forgejo/workflows/pylint.yaml b/.forgejo/workflows/pylint.yaml index 856f0a8..e3d2ea6 100644 --- a/.forgejo/workflows/pylint.yaml +++ b/.forgejo/workflows/pylint.yaml @@ -15,12 +15,12 @@ jobs: add-apt-repository ppa:deadsnakes/ppa apt install -y python3.11 gcc python3.11-dev python3.11-venv - name: Install Poetry - run: | - python3.11 -m pip install --user pipx - python3.11 -m pipx install poetry==1.2.0 - python3.11 -m pipx ensurepath - bash + run: curl -sSL https://install.python-poetry.org | python3.11 - - name: Install dependencies - run: poetry install --with dev + run: | + export PATH="$HOME/.local/bin:$PATH" + poetry install --with dev - name: Analysing the code with Pylint - run: poetry run pylint $(git ls-files '*.py') + run: | + export PATH="$HOME/.local/bin:$PATH" + poetry run pylint $(git ls-files '*.py')