diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index d07901c..dec48d5 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -35,8 +35,11 @@ jobs: path: /home/runner/docker/.cache/poetry key: do-app-baseimage-django-node:364385f9d196a2bbe2d5faea025520cc0316501f-poetry-${{ hashFiles('poetry.lock') }} - run: | - python -m pip install --upgrade pip - pip install poetry - poetry self update + # Uninstall the existing Poetry version + pip uninstall -y poetry + # Install Poetry using the recommended installer + curl -sSL https://install.python-poetry.org | python3 - + # Ensure Poetry is in the PATH + export PATH="$HOME/.local/bin:$PATH" - run: make install - run: make ci