Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

ci: install Rust toolchains before parallel builds (#17502)

Valery Meleshkin8505c9e320bd
diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml
index 99409d8abc..00cc226252 100644
--- a/.github/workflows/pipeline.yml
+++ b/.github/workflows/pipeline.yml
@@ -193,7 +193,7 @@ jobs:
with:
persist-credentials: false
- name: Install pinned Rust toolchain
- run: rustup show
+ run: rustup toolchain install --no-self-update
- name: Check Rust formatting
run: cargo fmt --all -- --check
- name: Lint Rust targets
@@ -1381,6 +1381,13 @@ jobs:
pnpm run db:migrate
pnpm --filter=shared run ch:up
pnpm --filter=shared run db:seed
+ # Turbo starts the native addon and AI Gateway builds in parallel. They
+ # may use different workspace-pinned Rust toolchains, so install both
+ # serially before either build can trigger rustup.
+ - name: Install pinned Rust toolchains
+ run: |
+ (cd packages/native && rustup toolchain install --no-self-update)
+ (cd ai-gateway && rustup toolchain install --no-self-update)
- name: Build
run: pnpm run build
env: