|
|
|
@ -26,12 +26,19 @@ runs:
|
|
|
|
|
uses: actions/cache@v4
|
|
|
|
|
with:
|
|
|
|
|
path: ~/.cache/pypoetry
|
|
|
|
|
key: poetry-cache-${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}-${{ env.POETRY_VERSION }}
|
|
|
|
|
key: poetry-cache
|
|
|
|
|
-${{ runner.os }}
|
|
|
|
|
-${{ steps.setup_python.outputs.python-version }}
|
|
|
|
|
-${{ env.POETRY_VERSION }}
|
|
|
|
|
- name: Cache Packages
|
|
|
|
|
uses: actions/cache@v4
|
|
|
|
|
with:
|
|
|
|
|
path: ~/.local
|
|
|
|
|
key: poetry-local-${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}-${{ hashFiles('.github/workflows/*.yml') }}
|
|
|
|
|
key: poetry-local
|
|
|
|
|
-${{ runner.os }}
|
|
|
|
|
-${{ steps.setup_python.outputs.python-version }}
|
|
|
|
|
-${{ hashFiles('**/poetry.lock')}}
|
|
|
|
|
-${{ hashFiles('.github/workflows/*.yml') }}
|
|
|
|
|
- name: Install dependencies
|
|
|
|
|
run: POETRY_VIRTUALENVS_CREATE=false poetry install
|
|
|
|
|
shell: bash
|
|
|
|
|