Skip to content

Commit a8f18db

Browse files
committed
README.md...
1 parent 524dd35 commit a8f18db

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,23 @@ jobs:
5858
steps:
5959
- uses: actions/checkout@v4
6060

61-
- name: Run Bandit Security Check
62-
uses: gaurav-nelson/bandit-action@v1
61+
- name: Set up Python
62+
uses: actions/setup-python@v5
6363
with:
64-
path: "src/"
64+
python-version: "3.11"
65+
66+
- name: Install security tools
67+
run: |
68+
python -m pip install --upgrade pip
69+
pip install bandit safety
70+
71+
- name: Run Bandit Security Check
72+
run: |
73+
bandit -r src/ -f json -o bandit-report.json || true
74+
bandit -r src/
6575
6676
- name: Run Safety Check
6777
run: |
68-
pip install safety
6978
safety check --json
7079
7180
build:

0 commit comments

Comments
 (0)