diff --git a/.forgejo/workflows/pylint.yaml b/.forgejo/workflows/pylint.yaml index fa5f89c..7ff5e3d 100644 --- a/.forgejo/workflows/pylint.yaml +++ b/.forgejo/workflows/pylint.yaml @@ -13,10 +13,14 @@ jobs: - name: Set up Python 3.11 run: | add-apt-repository ppa:deadsnakes/ppa - apt install -y python3.11 gcc python3.11-dev python3.11-venv + apt install -y python3.11 gcc python3.11-dev python3.11-venv python3-dev - name: Install Poetry run: curl -sSL https://install.python-poetry.org | python3.11 - - name: Install dependencies - run: python3.11 -m poetry install --with dev + run: | + export PATH="$HOME/.local/bin:$PATH" + poetry install --with dev - name: Analysing the code with Pylint - run: python3.11 -m poetry run pylint $(git ls-files '*.py') + run: | + export PATH="$HOME/.local/bin:$PATH" + poetry run pylint $(git ls-files '*.py')