Repository navigation
Commit a52b324
committed
ci: run bandit from the locked sast group instead of bandit-action
PyCQA/bandit-action v1 hardcodes Python 3.8 (v1.0.1: 3.9), which the
ubuntu-latest runner no longer provides, so the sast job failed during
setup on every run before bandit started.
Run the bandit pinned in uv.lock with the pyproject.toml configuration,
the same way tox -e sast does. Findings now fail the job; the action
ignored bandit's exit code and only uploaded SARIF results.1 parent f8c4a0f commit a52b324
1 file changed
Lines changed: 14 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
19 | 23 | | |
20 | | - | |
21 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
0 commit comments