Skip to content

Release v1.1.2

Release v1.1.2 #105

Workflow file for this run

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