Update .github/workflows/main.yaml
This commit is contained in:
@@ -22,8 +22,18 @@ jobs:
|
||||
run: |
|
||||
pip install pytest
|
||||
pip install pylint
|
||||
pip install bandit
|
||||
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
|
||||
run: pylint .
|
||||
|
||||
|
||||
Reference in New Issue
Block a user