Skip to content

ci: use the repository Rust toolchain in workflows - #846

Merged
ncitron merged 1 commit into
masterfrom
fix/ci-repo-rust-toolchain
Oct 5, 2026
Merged

ncitron merged 1 commit into
masterfrom
fix/ci-repo-rust-toolchain

Conversation

@ncitron

@ncitron ncitron commented Oct 5, 2026

Copy link
Copy Markdown
Collaborator

CI overrides rust-toolchain.toml with the moving stable channel. On October 1 that selected Rust 1.99.0 and failed Clippy on async_trait-generated double_must_use warnings, while the repository-pinned Rust 1.94.0 passes the same strict workspace check.

Use rustup toolchain install --profile minimal without a channel so the test, release, npm-publish, and benchmark workflows install the toolchain selected by the repository. Keep the explicit Clippy/rustfmt components and existing cross-compilation target setup. This also removes the benchmark workflow's nightly override; the benchmarks use Criterion and have no nightly feature gates.

Validation on macOS with the repository's Rust 1.94.0:

  • cargo clippy --offline --locked --all -- -D warnings passed.
  • cargo fmt --all -- --check passed.
  • Native rustup installation selected rust-toolchain.toml; selection also resolves correctly from helios-ts.
  • All four workflow YAML files parsed successfully; git diff --check passed.

The separate live RPC sync failure is outside this change. Linux CI and release builds have not been run locally.

@ncitron
ncitron merged commit 5da5ac5 into master Oct 5, 2026
@ncitron
ncitron deleted the fix/ci-repo-rust-toolchain branch October 5, 2026 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant