diff --git a/.github/workflows/project_ci.yml b/.github/workflows/project_ci.yml index a180b301..f6e64b01 100644 --- a/.github/workflows/project_ci.yml +++ b/.github/workflows/project_ci.yml @@ -49,6 +49,7 @@ jobs: - run: poetry env use ${{ steps.setup_python.outputs.python-version }} - name: Install dependencies if cache does not exist + if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' run: poetry install --no-interaction --no-root # Instantiate the project diff --git a/{{cookiecutter.repo_name}}/.github/workflows/django_ci.yml b/{{cookiecutter.repo_name}}/.github/workflows/django_ci.yml index 28281711..2e728495 100644 --- a/{{cookiecutter.repo_name}}/.github/workflows/django_ci.yml +++ b/{{cookiecutter.repo_name}}/.github/workflows/django_ci.yml @@ -105,6 +105,7 @@ jobs: key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }} - name: Install dependencies if cache does not exist + if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' run: poetry install --no-interaction --no-root - run: poetry run playwright install