ci: Install poetry even on cache hit

This commit is contained in:
Mike A.
2024-09-03 19:48:09 +02:00
parent 5d0513f250
commit 0cd073f4ee

View File

@@ -17,6 +17,12 @@ runs:
with:
python-version: ${{ inputs.python-version }}
- name: Install poetry
shell: bash
run: |
python -m pip install poetry
poetry config virtualenvs.in-project true
- name: Get cache key
id: cache-key
shell: bash
@@ -34,7 +40,4 @@ runs:
- name: Install dependencies
if: steps.cache-dependencies.outputs.cache-hit != 'true'
shell: bash
run: |
python -m pip install poetry
poetry config virtualenvs.in-project true
poetry install --with ${{ inputs.dependency-groups }}
run: poetry install --with ${{ inputs.dependency-groups }}