Skip to content

Setup CI workflow and apply cargo fmt to entire repository#13

Open
Abd002 wants to merge 1 commit intoOpenPrinting:mainfrom
Abd002:ci-formatting
Open

Setup CI workflow and apply cargo fmt to entire repository#13
Abd002 wants to merge 1 commit intoOpenPrinting:mainfrom
Abd002:ci-formatting

Conversation

@Abd002
Copy link
Copy Markdown
Contributor

@Abd002 Abd002 commented Mar 14, 2026

Summary

This PR adds a lightweight GitHub Actions CI workflow for the repository.

It provides:

  1. Format check

    • Runs cargo fmt --all -- --check
    • Ensures all Rust code, examples, and tests follow standard Rust formatting
  2. Tests

    • Runs cargo test --all -- --nocapture
    • Verifies that the library and examples compile and pass all tests
  3. CUPS dependency

    • Installs libcups2-dev on Ubuntu for compilation of CUPS bindings
  • Automatically checks code formatting and test correctness on push and pull requests
  • Keeps contributions clean, consistent, and easier for maintainers to review

Notes

  • No functional changes to the library or examples
  • CI is lightweight and fast, focused on formatting and correctness

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