Skip to content

Commit

Permalink
Update poetry in post merge integration gha (#3721)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgboss authored Jun 13, 2024
1 parent 77c8229 commit 030fcef
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/post_merge_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
cache-name: cache-poetry-installer
with:
path: "~/poetry_installer"
key: "poetry-installer-1.3.1"
key: "poetry-installer-1.6.1"
- name: Download poetry installer
if: steps.cache-poetry-installer.outputs.cache-hit != 'true'
run: |
Expand All @@ -42,7 +42,7 @@ jobs:
- name: Install poetry (api)
run: |
cd ~/poetry_installer
python install-poetry.py --version 1.3.1
python install-poetry.py --version 1.6.1
poetry config virtualenvs.create true
poetry config virtualenvs.in-project false
- name: Cache poetry
Expand All @@ -51,15 +51,15 @@ jobs:
cache-name: cache-poetry
with:
path: ~/.cache/pypoetry
key: ${{ runner.os }}-poetry-1.3.1-cache-${{ hashFiles('**/poetry.lock') }}
key: ${{ runner.os }}-poetry-1.6.1-cache-${{ hashFiles('**/poetry.lock') }}
restore-keys: |
${{ runner.os }}-poetry-1.3.1-cache-
${{ runner.os }}-poetry-1.6.1-cache-
- name: Cache .venv
id: cache-venv
uses: actions/cache@v4
with:
path: ~/work/wps/wps/api/.venv
key: ${{ runner.os }}-venv-poetry-1.3.1-${{ hashFiles('**/poetry.lock') }}
key: ${{ runner.os }}-venv-poetry-1.6.1-${{ hashFiles('**/poetry.lock') }}
- name: Install python dependencies using poetry (api)
if: steps.cache-venv.outputs.cache-hit != 'true'
working-directory: ./api
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
cache-name: cache-poetry-installer
with:
path: "~/poetry_installer"
key: "poetry-installer-1.3.1"
key: "poetry-installer-1.6.1"
- name: Download poetry installer
if: steps.cache-poetry-installer.outputs.cache-hit != 'true'
run: |
Expand All @@ -116,7 +116,7 @@ jobs:
- name: Install poetry (api)
run: |
cd ~/poetry_installer
python install-poetry.py --version 1.3.1
python install-poetry.py --version 1.6.1
poetry config virtualenvs.create true
poetry config virtualenvs.in-project false
# poetry cache folder: /home/runner/.cache/pypoetry
Expand All @@ -126,15 +126,15 @@ jobs:
cache-name: cache-poetry
with:
path: ~/.cache/pypoetry
key: ${{ runner.os }}-poetry-1.3.1-cache-${{ hashFiles('**/poetry.lock') }}
key: ${{ runner.os }}-poetry-1.6.1-cache-${{ hashFiles('**/poetry.lock') }}
restore-keys: |
${{ runner.os }}-poetry-1.3.1-cache-
${{ runner.os }}-poetry-1.6.1-cache-
- name: Cache .venv
id: cache-venv
uses: actions/cache@v4
with:
path: ~/work/wps/wps/api/.venv
key: ${{ runner.os }}-venv-poetry-1.3.1-${{ hashFiles('**/poetry.lock') }}
key: ${{ runner.os }}-venv-poetry-1.6.1-${{ hashFiles('**/poetry.lock') }}
- name: Install python dependencies using poetry (api)
if: steps.cache-venv.outputs.cache-hit != 'true'
working-directory: ./api
Expand Down

0 comments on commit 030fcef

Please sign in to comment.