File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,13 +60,21 @@ jobs:
6060 uses : actions/cache@v4
6161 with :
6262 path : .venv # Path to the virtual environment directory (if virtualenvs-in-project: true)
63- key : venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}
63+ key : venv-v2- ${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}
6464
6565 - name : Install dependencies with Poetry
6666 # Installs project dependencies using Poetry.
6767 # Always install dependencies to ensure dev tools like bandit are available
6868 run : poetry install --no-interaction --with dev
6969
70+ - name : Verify bandit installation
71+ # Debug step to verify bandit is properly installed
72+ run : |
73+ echo "Checking bandit installation..."
74+ poetry run which bandit || echo "bandit not found in PATH"
75+ poetry run bandit --version || echo "bandit --version failed"
76+ ls -la .venv/bin/ | grep bandit || echo "bandit executable not found"
77+
7078 - name : Run Ruff (Linting and Formatting Check)
7179 # Runs Ruff to check for linting errors and formatting issues.
7280 # --output-format=github makes Ruff output annotations directly in PRs/Actions UI.
You can’t perform that action at this time.
0 commit comments