diff --git a/.github/workflows/run_djlint.yml b/.github/workflows/run_djlint.yml index cbe9b4a6..0d658a03 100644 --- a/.github/workflows/run_djlint.yml +++ b/.github/workflows/run_djlint.yml @@ -23,6 +23,11 @@ jobs: virtualenvs-in-project: false installer-parallel: true + - name: Setup VENV + run: | + python -m venv venv + source .venv/bin/activate + - name: Install dependencies if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' run: poetry install --no-interaction --no-root @@ -35,6 +40,4 @@ jobs: #---------------------------------------------- - name: Run djLint - run: | - source .venv/bin/activate - poetry run djlint ./frontend/templates/ --check --profile=django \ No newline at end of file + run: poetry run djlint ./frontend/templates/ --check --profile=django \ No newline at end of file