File tree Expand file tree Collapse file tree 1 file changed +8
-13
lines changed
Expand file tree Collapse file tree 1 file changed +8
-13
lines changed Original file line number Diff line number Diff line change 1313 matrix :
1414 include :
1515 - python-version : " 3.10"
16- django-version : " 5.2 "
16+ django-version : " 6.0 "
1717 - python-version : " 3.13.7"
18- django-version : " 5.2"
19- - python-version : " 3.13.7"
20- django-version : " 5.1"
18+ django-version : " 6.0"
2119
2220 steps :
2321 - name : Checkout code
4240 pip install -r requirements-test.txt
4341 # Install specific Django version based on matrix
4442 case "${{ matrix.django-version }}" in
45- "5.1")
46- pip install "Django>=5.1,<5.2"
47- ;;
48- "5.2")
49- pip install "Django>=5.2,<5.3"
43+ "6.0")
44+ pip install "Django>=6.0,<6.1"
5045 ;;
5146 esac
5247 # Install the package in development mode
@@ -108,10 +103,10 @@ jobs:
108103 - name : Install dependencies
109104 run : |
110105 python -m pip install --upgrade pip
111- pip install safety bandit
106+ pip install pip-audit bandit
112107
113- - name : Run safety check
114- run : safety check
108+ - name : Run dependency audit
109+ run : pip-audit -r requirements.txt -r requirements-test.txt -r requirements-dev.txt
115110
116111 - name : Run bandit security linter
117112 run : bandit -r tink_fields/ -f json -o bandit-report.json || true
@@ -121,4 +116,4 @@ jobs:
121116 if : always()
122117 with :
123118 name : bandit-report
124- path : bandit-report.json
119+ path : bandit-report.json
You can’t perform that action at this time.
0 commit comments