Bump bandit from 1.8.0 to 1.8.2 #79
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
name: "CI Tests" | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
concurrency: | |
group: build-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
code-ql-check: | |
name: "CodeQL check" | |
runs-on: ubuntu-22.04 | |
permissions: | |
security-events: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: github/codeql-action/init@v3 | |
with: | |
config-file: .github/codeql/config.yml | |
languages: python | |
- uses: github/codeql-action/analyze@v3 | |
static-checks: | |
name: "Static checks" | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
step: [ "bandit", "lint" ] | |
env: | |
TOXENV: ${{ matrix.step }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
cache: pip | |
cache-dependency-path: | | |
requirements.txt | |
test-requirements.txt | |
tox.ini | |
- name: "Install Python Dependencies and plugin" | |
run: | | |
python -m pip install tox --user | |
python -m pip install . --user | |
- name: "Run static analysis via Tox" | |
run: tox |