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:
3 files changed
+5
-5
No files matched your search
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
questionary==2.1.1
|
questionary==2.1.1
|
||||||
rich==14.3.3
|
rich==15.0.0
|
||||||
# dev
|
# dev
|
||||||
ruff==0.15.9
|
ruff==0.15.11
|
||||||
pre-commit==4.5.1
|
pre-commit==4.5.1
|
||||||
@@ -31,10 +31,10 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Python {{ '{{ matrix.python-version }}' }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: {{ '{{ matrix.python-version }}' }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
- name: Install uv
|
- name: Install uv
|
||||||
uses: astral-sh/setup-uv@v4
|
uses: astral-sh/setup-uv@v4
|
||||||
|
|||||||
@@ -121,7 +121,7 @@ security:
|
|||||||
stage: security
|
stage: security
|
||||||
image: python:3.13
|
image: python:3.13
|
||||||
variables:
|
variables:
|
||||||
DJANGO_SETTINGS_MODULE: [[ project_name ]].settings.development
|
DJANGO_SETTINGS_MODULE: [[ module_name ]].settings.development
|
||||||
SECRET_KEY: test-secret-key-for-ci
|
SECRET_KEY: test-secret-key-for-ci
|
||||||
script:
|
script:
|
||||||
- pip install uv
|
- pip install uv
|
||||||
|
|||||||
Reference in new issue
Block a user