From abfb92e188b364d295b2af49f5e3aad83faab369 Mon Sep 17 00:00:00 2001 From: marcusalstrom Date: Fri, 27 Sep 2024 14:35:17 +0200 Subject: [PATCH] Update bandit.yml --- .github/workflows/bandit.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/bandit.yml b/.github/workflows/bandit.yml index d75d73b..1b0f23f 100644 --- a/.github/workflows/bandit.yml +++ b/.github/workflows/bandit.yml @@ -1,23 +1,22 @@ name: Security Linting with Bandit -on: [push, pull_request] # Run the pipeline on push or pull request events +on: [push, pull_request] jobs: bandit-security-check: - runs-on: ubuntu-latest # Use the latest Ubuntu runner + runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v3 # Check out your repository + uses: actions/checkout@v3 - name: Set up Python - uses: actions/setup-python@v4 # Set up Python + uses: actions/setup-python@v4 with: - python-version: '3.9' # Use your desired Python version (e.g., '3.9') + python-version: '3.12' - name: Install dependencies run: | - python -m pip install --upgrade pip # Upgrade pip pip install bandit # Install Bandit - name: Run Bandit Security Checks