Skip to content

ci: add C17 header check, Rust lint gates, and workflow hardening #96

Closed

Description

@Xuanwo

Add baseline C17 header compatibility checks, Rust lint gates, and GitHub Actions hygiene:

  • Pure C17 header check:
    • Currently all tests and examples in the repository are .cpp, so C-incompatible syntax in include/lancedb.h is not caught by CI.
    • Add a pure C17 compilation check (-std=c17 -Wall -Wextra -Werror -pedantic on GCC/Clang, /std:c17 on MSVC) and a minimal pure-C consumer smoke test.
  • Rust lint gates:
    • Run cargo clippy --all-targets -- -D warnings and cargo fmt --check in CI.
  • Workflow hardening and maintenance:
    • Add explicit minimal permissions and PR concurrency (cancel-in-progress: true) to workflows (ci.yml, coverage.yml, packages.yml).
    • Add .github/dependabot.yml to keep GitHub Actions versions updated.

Activity

  1. added
    enhancement
    on Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions