Skip to content

Commit 2ae9eef

Browse files
committed
ci(355): adding bandit as a sats quickwin (#355)
1 parent 3d92cf7 commit 2ae9eef

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Bandit
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
sats-bandit-analysis:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v6
19+
20+
- name: Setup uv
21+
uses: astral-sh/setup-uv@v8.1.0
22+
with:
23+
python-version: "3.14"
24+
25+
- name: Install bandit
26+
run: |
27+
uv venv && uv pip install bandit
28+
29+
- name: Run bandit
30+
run: |
31+
bandit -ll -r ./pyoaev/ ./scripts/ ./test/

0 commit comments

Comments
 (0)