Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

chore: add poetry check --lock to lint CI to prevent stale lockfile merges

joereynad118bf48188f
diff --git a/.github/workflows/test-linting.yml b/.github/workflows/test-linting.yml
index fc0f84a20d4..4cedb8b5bae 100644
--- a/.github/workflows/test-linting.yml
+++ b/.github/workflows/test-linting.yml
@@ -28,9 +28,12 @@ jobs:
find . -type d -name "__pycache__" -exec rm -rf {} + || true
find . -name "*.pyc" -delete || true
+ - name: Check poetry.lock is up to date
+ run: |
+ poetry check --lock || (echo "❌ poetry.lock is out of sync with pyproject.toml. Run 'poetry lock' locally and commit the result." && exit 1)
+
- name: Install dependencies
run: |
- poetry lock
poetry install --with dev
- name: Check Black formatting