when: event: [push, pull_request] steps: lint: image: python:3.12-alpine commands: # Install Ruff (extremely fast linter) - pip install --no-cache-dir ruff # Check syntax and undefined names/variables across your Python files - ruff check . # Optional: Check formatting compliance - ruff format --check .