diff --git a/.github/actions/setup-project/action.yml b/.github/actions/setup-project/action.yml index f2b3158..4dfb260 100644 --- a/.github/actions/setup-project/action.yml +++ b/.github/actions/setup-project/action.yml @@ -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 }}