From b1a15981f6a918e503bb808b82137437f0f0714e Mon Sep 17 00:00:00 2001 From: northpowered Date: Fri, 31 Oct 2025 19:32:18 +0300 Subject: [PATCH] chore: update CI workflow for Python setup and Poetry path management - Removed explicit Python version and caching configuration from the setup step. - Added the Poetry binary path to the environment by appending it to the PATH variable, ensuring accessibility during the CI process. These changes aim to streamline the CI workflow and improve the reliability of the environment setup. --- .github/workflows/documentation.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 701871a..47f948c 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -21,9 +21,6 @@ jobs: - name: Set up Python uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 - with: - python-version: "3.11" - cache: "poetry" - name: Install Poetry uses: snok/install-poetry@76e04a911780d5b312d89783f7b1cd627778900a # v1 @@ -33,7 +30,9 @@ jobs: installer-parallel: true - name: Add Poetry to PATH - run: echo "$HOME/.local/bin" >> $GITHUB_PATH + run: | + echo "$HOME/.local/bin" >> $GITHUB_PATH + echo "$HOME/.poetry/bin" >> $GITHUB_PATH - name: Load cached Poetry dependencies uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4