fix(ci): correct Python version and Django settings variable interpolation

- Bug Fixes:
  - Fixed Jinja syntax in GitHub Actions workflow (removed extraneous {{ }} around matrix.python-version).
  - Updated DJANGO_SETTINGS_MODULE placeholder from [[ project_name ]] to [[ module_name ]] in GitLab CI template.
This commit is contained in:
sankalp committed 2026-04-20 14:24:20 +05:45
commit 09fa597215
3 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
questionary==2.1.1
rich==14.3.3
rich==15.0.0
# dev
ruff==0.15.9
ruff==0.15.11
pre-commit==4.5.1
@@ -31,10 +31,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python {{ '{{ matrix.python-version }}' }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: {{ '{{ matrix.python-version }}' }}
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@v4
@@ -121,7 +121,7 @@ security:
stage: security
image: python:3.13
variables:
DJANGO_SETTINGS_MODULE: [[ project_name ]].settings.development
DJANGO_SETTINGS_MODULE: [[ module_name ]].settings.development
SECRET_KEY: test-secret-key-for-ci
script:
- pip install uv