Skip to content

Fix Rust setup in CI workflow and ensure all tests run#6

Merged
CHINMAYVIVEK merged 5 commits intomainfrom
dev
Jan 19, 2026
Merged

Fix Rust setup in CI workflow and ensure all tests run#6
CHINMAYVIVEK merged 5 commits intomainfrom
dev

Conversation

@CHINMAYVIVEK
Copy link
Copy Markdown
Owner

This PR updates the GitHub Actions workflow for the Rust project:

  • Replaced the nonexistent rust-lang/setup-rust action with the supported actions-rs/toolchain@v1
  • Installs the stable Rust toolchain along with Clippy and rustfmt
  • Adds a temporary config.toml to ensure all unit tests and doctests pass in CI
  • CI now runs on push to any branch and on PRs targeting main or dev
  • Retains cargo caching for faster builds and improved efficiency

This ensures the CI pipeline works reliably and validates all code changes, including doctests, formatting, and lints.

- Removed `.github/workflows/rust.yml`
- Added `.github/workflows/rust-ci.yml` with:
  - Temporary config.toml for CI tests
  - Full unit and doctest support
  - Clippy and rustfmt checks
  - Dependency caching for faster builds
- Updated `Cargo.toml` with optimized metadata and keywords for crates.io
- Run CI on push to any branch
- Run CI on pull requests targeting main or dev
- Temporary config.toml ensures all unit tests and doctests pass
- Clippy and rustfmt checks remain active
- Replaced deprecated Rust setup action with `rust-lang/setup-rust@v2`
- Run CI on push to any branch and PRs targeting main/dev
- Temporary config.toml ensures unit tests and doctests pass in CI
- Added Clippy and rustfmt checks
- Cached cargo registry and git dependencies for faster builds
- Replaced nonexistent `rust-lang/setup-rust` with `actions-rs/toolchain@v1`
- Ensures stable Rust toolchain, Clippy, and rustfmt are installed in CI
- Temporary config.toml created so unit tests and doctests pass
- CI runs on push to any branch and PRs targeting main/dev
@CHINMAYVIVEK CHINMAYVIVEK merged commit 134f2f8 into main Jan 19, 2026
2 checks passed
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