Merge pull request #284 from MrBrain295/patch-2

Fix bandit
This commit is contained in:
MH_ProDev 2022-03-20 19:20:24 +03:30 committed by GitHub
commit ee4f2a2a4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,2 +1,29 @@
- name: Python security check using Bandit
uses: Joel-hanson/bandit-report-artifacts@V1
name: Security check - Bandit
on: push
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ ubuntu-latest, macos-latest ]
python-version: [ '3.8.12', '3.10' ]
name: Python ${{ matrix.python-version }} ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Security check - Bandit
uses: ./
with:
python_version: ${{ matrix.python-version }}
project_path: .
ignore_failure: true
- name: Security check report artifacts
uses: actions/upload-artifact@v1
# if: failure()
with:
name: Security report
path: output/security_report.txt