Skip to content

ci: strengthen Rust quality gates#19

Merged
kholdrex merged 1 commit into
mainfrom
ci/strengthen-rust-gates
Jun 1, 2026
Merged

ci: strengthen Rust quality gates#19
kholdrex merged 1 commit into
mainfrom
ci/strengthen-rust-gates

Conversation

@kholdrex
Copy link
Copy Markdown
Member

@kholdrex kholdrex commented Jun 1, 2026

Summary

Strengthens the Rust CI workflow so pull requests run the same deterministic quality gates used for local validation. The workflow now checks formatting, Clippy, all-feature tests, and example compilation without running the longer example programs.

Changes

  • Replaces the manual rustup bootstrap with a Rust toolchain action that installs rustfmt and Clippy.
  • Updates checkout to actions/checkout@v4 and adds Rust dependency caching.
  • Adds CI steps for formatting, Clippy with warnings denied, all-feature tests, and all-feature example compilation.

Test Plan

  • cargo fmt --all -- --check
  • cargo clippy --all-targets --all-features -- -D warnings
  • cargo test --all-features
  • cargo check --examples --all-features
  • git diff --check

@kholdrex kholdrex merged commit d6a9910 into main Jun 1, 2026
1 check passed
@kholdrex kholdrex deleted the ci/strengthen-rust-gates branch June 1, 2026 13:16
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