Skip to content

Update Python version to 3.11 in build workflow #3

Update Python version to 3.11 in build workflow

Update Python version to 3.11 in build workflow #3

Workflow file for this run

name: Python CI Pipeline
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build-test:
runs-on: ubuntu-latest
steps:
# 1. Checkout source code
- name: Checkout repository
uses: actions/checkout@v4
# 2. Install Python
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
# 3. Install dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
# 4. Run linting (code quality check)
- name: Run Flake8 Linting
run: |
pip install flake8
flake8 app --max-line-length=120