feat: Initial YarnGPT SDK implementation with comprehensive features #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Code Quality | |
| on: | |
| push: | |
| branches: [ main, master, develop ] | |
| pull_request: | |
| branches: [ main, master, develop ] | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v4 | |
| with: | |
| version: "latest" | |
| - name: Set up Python | |
| run: uv python install 3.12 | |
| - name: Install dependencies | |
| run: uv sync --all-groups | |
| - name: Run ruff linting | |
| run: uv run ruff check yarngpt/ tests/ examples/ | |
| - name: Run ruff formatting check | |
| run: uv run ruff format --check yarngpt/ tests/ examples/ | |
| - name: Run mypy type checking | |
| run: uv run mypy yarngpt/ | |
| continue-on-error: true |