Skip to content

ci: fix CI pipeline and add tag-based releases - #5

Merged
DeityLamb merged 1 commit into
mainfrom
claude/epic-newton-xtontj
Oct 7, 2026
Merged

DeityLamb merged 1 commit into
mainfrom
claude/epic-newton-xtontj

Conversation

@DeityLamb

Copy link
Copy Markdown
Owner

Summary

  • Replace broken rust.yml (used retired actions/upload-artifact@v3) with ci.yml: fmt, clippy (-D warnings), tests and release build on pushes to main and PRs.
  • Add release.yml: on v* tags, verify the tag matches Cargo.toml, build x86_64/aarch64 × gnu/musl binaries, package as .tar.gz with sha256 checksums and publish a GitHub release with generated notes.
  • Fix clippy errors: deprecated whoami::hostname() → whoami::fallible::hostname(); lines().flatten() → map_while(Result::ok) in xbps.rs. Apply cargo fmt.
  • README: installation and release instructions.

Testing

  • cargo fmt --check, cargo clippy --all-targets -- -D warnings, cargo test, cargo build --release pass locally.
  • x86_64-unknown-linux-musl release build verified locally (static binary).

🤖 Generated with Claude Code

https://claude.ai/code/session_01Tcei1A4L5TW8AskmMbjWFQ


Generated by Claude Code

- Replace broken rust.yml (deprecated upload-artifact@v3) with ci.yml
  running fmt, clippy, tests and release build
- Add release.yml: on v* tags build x86_64/aarch64 gnu+musl binaries
  and publish a GitHub release with checksums
- Fix clippy errors (deprecated whoami::hostname, lines().flatten())
  and apply rustfmt

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Tcei1A4L5TW8AskmMbjWFQ
@DeityLamb
DeityLamb merged commit 0063fd6 into main Oct 7, 2026
1 check passed
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.

2 participants