Repository navigation
Release v1.1.2 #105
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: CI | |
| on: | |
| pull_request: | |
| branches: [main] | |
| push: | |
| branches: [main] | |
| workflow_dispatch: | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up uv and Python | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| python-version: "3.11.9" | |
| enable-cache: true | |
| cache-dependency-glob: uv.lock | |
| activate-environment: true | |
| - name: Install dependencies | |
| run: uv sync --locked --group dev | |
| - name: Run Ruff Linter | |
| run: uv run ruff check --output-format=github . | |
| - name: Run Ruff Formatter Check | |
| run: uv run ruff format --check --diff . | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up uv and Python | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| python-version: "3.11.9" | |
| enable-cache: true | |
| cache-dependency-glob: uv.lock | |
| activate-environment: true | |
| - name: Install dependencies | |
| run: uv sync --locked --group dev | |
| - name: Test | |
| run: uv run pytest | |
| check-codegen-drift: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up uv and Python | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| python-version: "3.11.9" | |
| enable-cache: true | |
| cache-dependency-glob: uv.lock | |
| activate-environment: true | |
| - name: Install dependencies | |
| run: uv sync --locked --group codegen | |
| - name: Regenerate SDK | |
| run: bash scripts/generate-sdk | |
| - name: Check for codegen drift | |
| run: | | |
| git diff --exit-code -- \ | |
| README.md \ | |
| openapi/openapi.yml \ | |
| openapi/wrappers.yml \ | |
| openapi/readme_blocks.yml \ | |
| src/roe/_generated \ | |
| src/roe/api |