Files
ChatBot/.github/workflows/code-review.yml
2025-10-07 09:01:59 +02:00

35 lines
705 B
YAML

name: Review
on:
push:
branches:
- Development
jobs:
Review:
runs-on: ubuntu-latest
steps:
# 1. Check out code
- name: Checkout repository
uses: actions/checkout@v3
# 2. Set up Python
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: '3.9'
# 3. Install dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install black isort
# 4. Run code format checks
- name: Check code formatting with Black
run: black --check .
- name: Check import order with isort
run: isort --check-only .