Skip to content

ci: add GitHub Actions workflow for build, lint and test#12

Open
chaosreload wants to merge 1 commit intozerobootdev:mainfrom
chaosreload:ci/add-rust-ci
Open

ci: add GitHub Actions workflow for build, lint and test#12
chaosreload wants to merge 1 commit intozerobootdev:mainfrom
chaosreload:ci/add-rust-ci

Conversation

@chaosreload
Copy link

Summary

Add a CI workflow that runs on every push and pull request to .

Checks

  • cargo fmt --check — enforce consistent formatting
  • cargo clippy — lint for common Rust mistakes
  • cargo build — verify debug build
  • cargo build --release — verify release build
  • cargo test — run unit tests

Notes

  • Uses to cache cargo registry and build artifacts for faster runs
  • clippy runs without for now to avoid blocking PRs with pre-existing warnings; can be tightened in a follow-up
  • Targets to match the recommended deployment environment

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