Skip to content

Commit b1a1598

Browse files
committed
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.
1 parent cb34c6d commit b1a1598

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/documentation.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ jobs:
2121

2222
- name: Set up Python
2323
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
24-
with:
25-
python-version: "3.11"
26-
cache: "poetry"
2724

2825
- name: Install Poetry
2926
uses: snok/install-poetry@76e04a911780d5b312d89783f7b1cd627778900a # v1
@@ -33,7 +30,9 @@ jobs:
3330
installer-parallel: true
3431

3532
- name: Add Poetry to PATH
36-
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
33+
run: |
34+
echo "$HOME/.local/bin" >> $GITHUB_PATH
35+
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
3736
3837
- name: Load cached Poetry dependencies
3938
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4

0 commit comments

Comments
 (0)