Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Merge pull request #2 from agno-agi/improvement/routes #5

Merge pull request #2 from agno-agi/improvement/routes

Merge pull request #2 from agno-agi/improvement/routes #5

Workflow file for this run

name: Validate
on:
push:
branches:
- "main"
pull_request:
types:
- opened
- synchronize
- reopened
branches:
- "main"
jobs:
validate:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
enable-cache: true
cache-dependency-glob: "requirements**.txt"
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Create a virtual environment
run: uv venv --python ${{ matrix.python-version }}
- name: Install the project
run: uv pip sync requirements.txt && uv pip install ruff && uv pip install mypy
- name: Format with ruff
run: uv run ruff format .
- name: Lint with ruff
run: uv run ruff check .
- name: Type-check with mypy
run: uv run mypy .
# - name: Run tests
# run: uv run pytest tests