ci: add Rust quality checks - #55
Closed
lucacillario wants to merge 1 commit into
Closed
Conversation
This was referenced Aug 12, 2026
Merged
Contributor
Author
## What changed Add independent pull-request workflows for formatting, Clippy, and nextest. Configure Rust and Solana toolchains plus cached Cargo and Solana build artifacts. Closes #39 ## Impact Pull requests containing these workflows report all three standard Rust checks independently. The change affects CI only. ## Validation - Parsed all three workflow files as YAML. - `cargo fmt --check` passed on the complete `replicator` stack. - `git diff --check` passed. - Clippy reached the existing Keeper SBF build locally; the installed Solana 3.0.11 platform toolchain is too old for edition 2024. CI installs Solana 4.0.3. - Nextest is installed and exercised by the CI workflow. ## Reviewer notes This branch is stacked on `replicator`, the first point where the complete engine workspace exists. Existing stack branches remain unchanged.
lucacillario
force-pushed
the
ci-rust-checks
branch
from
August 12, 2026 14:15
c6a4d1d to
6db70c6
Compare
An error occurred while trying to automatically change base from
replicator
to
engine
August 12, 2026 14:16
📝 WalkthroughWalkthroughAdded GitHub Actions workflows for Rust formatting, Clippy, and test checks. The workflows run on pushes and pull requests, use read-only permissions, cancel superseded runs, cache build tools, and use Rust 1.96.1. ChangesRust CI checks
Estimated code review effort: 2 (Simple) | ~15 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/ci-lint.yml:
- Around line 21-22: Set persist-credentials to false on the actions/checkout@v5
steps in .github/workflows/ci-lint.yml lines 21-22 and
.github/workflows/ci-test.yml lines 21-22; both checkout sites require the same
change.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: 7fac5464-f35e-4b2b-a45b-1e4dffc1ddac
📒 Files selected for processing (3)
.github/workflows/ci-fmt.yml.github/workflows/ci-lint.yml.github/workflows/ci-test.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What changed
Add independent pull-request workflows for formatting, Clippy, and nextest. Configure Rust and Solana toolchains plus cached Cargo and Solana build artifacts.
Closes #39
Impact
Pull requests containing these workflows report all three standard Rust checks independently. The change affects CI only.
Validation
cargo fmt --checkpassed on the completereplicatorstack.git diff --checkpassed.Reviewer notes
This branch is stacked on
replicator, the first point where the complete engine workspace exists. Existing stack branches remain unchanged.Swatinem/rust-cache@v2 was chosen instead of sccache because it integrates directly with GitHub Actions’ persistent cache and efficiently restores Cargo dependencies and build artifacts across ephemeral runners while keeping the CI setup simpler.