Skip to content

ci: add GitHub Actions workflows and pre-commit configs#15

Merged
anstylian merged 5 commits intomainfrom
ci
Jan 13, 2026
Merged

ci: add GitHub Actions workflows and pre-commit configs#15
anstylian merged 5 commits intomainfrom
ci

Conversation

@anstylian
Copy link
Copy Markdown
Contributor

@anstylian anstylian commented Dec 23, 2025

  • Add CI workflow for linting, formatting, testing, and building
  • Add custom actions for patched dependencies and protoc setup
  • Add markdownlint, yamllint, and typos configuration files
  • Update workspace Rust MSRV to 1.88.0 in Cargo.toml

closes: #12

@anstylian anstylian force-pushed the ci branch 5 times, most recently from b4645ae to 95edea9 Compare December 23, 2025 11:00
@anstylian anstylian marked this pull request as ready for review December 23, 2025 11:00
@anstylian anstylian requested review from asmie and mikdk December 23, 2025 11:00
@anstylian anstylian marked this pull request as draft December 23, 2025 11:06
- Add CI workflow for linting, formatting, testing, and building
- Add custom actions for patched dependencies and protoc setup
- Add markdownlint, yamllint, and typos configuration files
- Update workspace Rust MSRV to 1.88.0 in Cargo.toml
@anstylian anstylian marked this pull request as ready for review December 23, 2025 11:32
@anstylian anstylian marked this pull request as draft December 23, 2025 12:48
…th filtering

- Switch CI trigger from push to pull_request (opened, synchronize, reopened)
- Refactor GitHub Actions workflow to run full CI only when PR is ready for review, in merge queue, or manually triggered.
- Remove incremental path filtering and related jobs.
@anstylian anstylian marked this pull request as ready for review December 23, 2025 14:11
Replaced individual `license = "MIT"` entries with `license.workspace = true` in Cargo.toml files for consistency and centralized license management.
Copy link
Copy Markdown

@asmie asmie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
Small nitpicks.

Generally you repeat the same “Checkout / Install protoc / Setup patched deps / Install toolchain / rustup override / cache” blocks in multiple jobs. Consider extracting into a reusable workflow or a composite action (you already have internal actions like setup-protoc and setup-patched-deps, so you’re aligned with this approach).

Comment thread .github/workflows/ci.yml Outdated
Comment thread .github/workflows/ci.yml Outdated
…or CI workflow

- Add `.github/actions/setup-rust-build/action.yml` composite action to install protoc, setup patched dependencies, install Rust toolchain, and configure cache.
- Refactor `.github/workflows/ci.yml` to use the new composite action, simplify job dependencies, and clarify PR trigger events.
@anstylian anstylian marked this pull request as draft January 13, 2026 08:42
@anstylian anstylian marked this pull request as ready for review January 13, 2026 08:42
@anstylian anstylian enabled auto-merge January 13, 2026 08:47
@anstylian anstylian requested a review from asmie January 13, 2026 08:49
@anstylian anstylian added this pull request to the merge queue Jan 13, 2026
Merged via the queue into main with commit 65b3fb4 Jan 13, 2026
10 checks passed
@anstylian anstylian deleted the ci branch January 13, 2026 09:48
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.

Set up CI Pipeline

2 participants