Skip to content

Set up a standalone home: CI, release, contributing, and hygiene - #1

Merged
johncarmack1984 merged 1 commit into
mainfrom
setup/standalone-home
Jul 3, 2026
Merged

Set up a standalone home: CI, release, contributing, and hygiene#1
johncarmack1984 merged 1 commit into
mainfrom
setup/standalone-home

Conversation

@johncarmack1984

Copy link
Copy Markdown
Contributor

What

Turns this repository from a generated cargo-rail split mirror into a real, standalone open-source home, now that Orrery consumes the crate as a published crates.io dependency rather than vendoring it.

  • CI (.github/workflows/ci.yml): fmt --check, clippy -D warnings, test, plus an MSRV build on the version declared in Cargo.toml.
  • Release (.github/workflows/release.yml): push a vX.Y.Z tag → publish to crates.io via Trusted Publishing (OIDC, no stored token) + a GitHub Release. Tag/version match is enforced.
  • Contribution surface: CONTRIBUTING.md, a PR template, bug/feature issue templates.
  • Hygiene: dependabot.yml (cargo + actions), .gitignore.
  • #[rustfmt::skip] on the layer table — the one drift from the crate's in-repo source; without it fmt --check reformats the hand-aligned table. No behavior change.
  • CHANGELOG.md.

Verified locally

cargo fmt --all --check, cargo clippy --all-targets -- -D warnings, cargo test (6 unit + 1 doctest) all green. The crate is dependency-free and self-contained.

Turn this from a generated split mirror into a real development home now that
orrery consumes the crate as a published dependency:

- CI: fmt, clippy -D warnings, test, and an MSRV build
- Release: tag-triggered crates.io publish via Trusted Publishing + GitHub Release
- CONTRIBUTING, PR and issue templates, dependabot, .gitignore, CHANGELOG
- add #[rustfmt::skip] on the layer table so fmt --check passes (the one drift
  from the crate's in-repo source; no behavior change)
@johncarmack1984
johncarmack1984 merged commit aad24c8 into main Jul 3, 2026
2 checks passed
@johncarmack1984
johncarmack1984 deleted the setup/standalone-home branch July 3, 2026 19:52
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