Skip to content

Switchyard lets LLM applications route traffic across models and providers while preserving native OpenAI and Anthropic API compatibility - enabling flexible model selection, benchmarking, and cost/performance optimization.

Rust

ci: skip project builds for static checks (#673)

Alex Fournier4e2f165bc4ce
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 3a2c30382..d0be6d6d2 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -52,9 +52,9 @@ jobs:
python-version: "3.12"
enable-cache: true
cache-dependency-glob: "uv.lock"
- - run: uv sync --locked
+ - run: uv sync --locked --no-install-project
- name: ruff check
- run: uv run ruff check .
+ run: uv run --no-sync ruff check .
# SPDX headers are a hard gate — every Python file must carry the exact
# NVIDIA OSRB-required two-line form (SPDX-FileCopyrightText with the
@@ -128,9 +128,9 @@ jobs:
python-version: "3.12"
enable-cache: true
cache-dependency-glob: "uv.lock"
- - run: uv sync --locked
+ - run: uv sync --locked --no-install-project
- name: mypy
- run: uv run mypy switchyard
+ run: uv run --no-sync mypy switchyard
# Unit tests on supported Python versions. Integration/e2e tests are
# intentionally deselected here because they may need Docker, live provider