name: CI Workflow

on: [pull_request, workflow_dispatch]

jobs:
  main:
    name: CI
    strategy:
      matrix:
        os: [ubuntu-latest, macos-latest]
        python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
    runs-on: ${{ matrix.os }}
    steps:      
      - name: Checkout
        uses: actions/checkout@v4
      - name: install uv and python
        uses: astral-sh/setup-uv@v7
        with:
          version: "0.10.4"
          python-version: ${{ matrix.python-version }}
      - name: Install
        run: make install-dev
      - name: Lint        
        run: make lint-services
      - name: Test
        run: make test-services
