نسخ من Omar-268/flask_app
Update .github/workflows/main.yaml
هذا الالتزام موجود في:
10
.github/workflows/main.yaml
مباع
10
.github/workflows/main.yaml
مباع
@@ -22,8 +22,18 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
pip install pytest
|
pip install pytest
|
||||||
pip install pylint
|
pip install pylint
|
||||||
|
pip install bandit
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
|
||||||
|
- name: Run Bandit (Static Security Analysis)
|
||||||
|
run: bandit -r . -f txt -o bandit-report.txt
|
||||||
|
|
||||||
|
- name: Upload Bandit Report (Artifact)
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: bandit-report
|
||||||
|
path: bandit-report.txt
|
||||||
|
|
||||||
- name: Run pylint
|
- name: Run pylint
|
||||||
run: pylint .
|
run: pylint .
|
||||||
|
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم