Skip to content

Bump nox from 2024.4.15 to 2024.10.9 #265

Bump nox from 2024.4.15 to 2024.10.9

Bump nox from 2024.4.15 to 2024.10.9 #265

name: Security check - Bandit
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
name: Code analysis with Bandit with ${{matrix.python}} on Ubuntu
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Generate report folder and Install Bandit
run: mkdir -p path/to/file | pip install poetry bandit
- name: Bandit check
if: always()
run: bandit -r app -o path/to/file/bandit_report.txt
- uses: actions/upload-artifact@v4
if: always()
with:
name: Safety Reports py${{ matrix.python }}
path: path/to/file