Skip to content

Add @am-cs-se

Add @am-cs-se #2320

Workflow file for this run

name: Bandit
on:
push:
paths:
- '**.py'
branches:
- main
- dev
- samples
- 'ver_*'
pull_request:
paths:
- '**.py'
branches:
- main
- dev
- samples
- 'ver_*'
jobs:
analyze:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install bandit
pip install -r requirements.txt
- name: Analyze package with bandit
run: |
bandit -r src
- name: Analyze samples with bandit
run: |
bandit -r samples