Debian NMU 1.13.1-1.1 (by Adrian Bunk) #541
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
# Run the Bandit scanner for finding vulnerabilities in the python code. | |
name: bandit | |
on: [push, pull_request, workflow_dispatch] | |
env: | |
GITHUB_REPO: pmem/pmdk | |
DOCKER_REPO: ghcr.io/pmem/pmdk | |
HOST_WORKDIR: /home/runner/work/pmdk/pmdk | |
WORKDIR: utils/docker | |
jobs: | |
linux: | |
name: Linux | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
CONFIG: ["BANDIT=1 OS=ubuntu OS_VER=22.04"] | |
steps: | |
- name: Clone the git repo | |
uses: actions/checkout@v3 | |
- name: Pull or rebuild the image | |
run: cd $WORKDIR && ${{ matrix.CONFIG }} ./pull-or-rebuild-image.sh | |
- name: Run the build | |
run: cd $WORKDIR && ${{ matrix.CONFIG }} ./build-CI.sh |