Fix bandit

This commit is contained in:
Gabe 2022-03-20 07:51:42 -05:00 committed by GitHub
parent 4a3f7ad14e
commit b546789628
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 29 additions and 2 deletions

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