ci: create csv-formatted bandit log artifact
@@ -32,6 +32,9 @@ jobs:
bandit -r $(find ${{ github.workspace }} -name "*.py") \
--format txt \
| tee ${{ github.workspace }}/bandit.log
+ bandit -r $(find ${{ github.workspace }} -name "*.py") \
+ --format csv \
+ | tee ${{ github.workspace }}/bandit.log.csv
- name: Archive results
uses: actions/upload-artifact@v2
with:
@@ -39,3 +42,4 @@ jobs:
path: |
${{ github.workspace }}/flake8.log
${{ github.workspace }}/bandit.log
+ ${{ github.workspace }}/bandit.log.csv
