Skip to content

[repo-health] Medium: No CI pipeline — tests and linter never run automatically #7

@Liohtml

Description

@Liohtml

Summary

The repository has no GitHub Actions configured. The 2 unit tests in src/lib.rs and standard Rust quality checks are never automatically executed, leaving the crate vulnerable to undetected regressions.

Category

Tests / CI

Severity

Medium

Location

  • File: .github/workflows/ (missing entirely)

Details

  • No .github/ directory exists.
  • Without CI, the following are never enforced automatically:
    • cargo testno_keys_returns_error and builder_chains tests.
    • cargo clippy -- -D warnings — linting.
    • cargo fmt --check — formatting.
  • As a crates.io library, a broken publish has no automated gate to catch it.
  • The example (examples/run_actor.rs) is never compiled in CI (cargo build --examples).

Suggested Fix

Add .github/workflows/ci.yml:

name: CI
on: [push, pull_request]
jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: dtolnay/rust-toolchain@stable
        with: { components: clippy, rustfmt }
      - run: cargo test
      - run: cargo build --examples
      - run: cargo clippy -- -D warnings
      - run: cargo fmt --check

Effort Estimate

5 min


Automated finding by repo-health-agent v1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions