Version 1.3.3 - New Custom Storage, Foundry LogScale, Real Time Response Audit and Workflows service collections #1910
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v4 | |
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 |