Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: uv python install ${{ env.PYTHON_VERSION }}

- name: Install dependencies
run: uv sync --dev
run: uv sync --extra dev

- name: Run ruff check
run: uv run ruff check src/ tests/
Expand All @@ -48,7 +48,7 @@ jobs:
run: uv python install ${{ env.PYTHON_VERSION }}

- name: Install dependencies
run: uv sync --dev
run: uv sync --extra dev

- name: Run mypy
run: uv run mypy src/polybot/ --ignore-missing-imports
Expand All @@ -70,7 +70,7 @@ jobs:
run: uv python install ${{ env.PYTHON_VERSION }}

- name: Install dependencies
run: uv sync --dev
run: uv sync --extra dev

- name: Create data directory
run: mkdir -p data
Expand Down Expand Up @@ -111,11 +111,8 @@ jobs:
- name: Set up Python
run: uv python install ${{ env.PYTHON_VERSION }}

- name: Install bandit
run: uv pip install bandit

- name: Run bandit security check
run: uv run bandit -r src/polybot/ -ll -x tests/ -f json -o bandit-report.json
run: uvx --from bandit bandit -r src/polybot/ -ll -x tests/ -f json -o bandit-report.json
continue-on-error: true

- name: Upload security report
Expand Down