Skip to content

ci: add crates.io publishing workflow#9

Merged
chaliy merged 1 commit intomainfrom
claude/add-crates-publishing-QxcOS
Jan 10, 2026
Merged

ci: add crates.io publishing workflow#9
chaliy merged 1 commit intomainfrom
claude/add-crates-publishing-QxcOS

Conversation

@chaliy
Copy link
Copy Markdown
Owner

@chaliy chaliy commented Jan 10, 2026

What

Add GitHub Actions workflow that automatically publishes to crates.io when a GitHub release is published.

Why

Enable automated publishing to crates.io to streamline the release process and ensure consistent, verified releases.

How

  • New .github/workflows/publish.yml workflow triggered on release publish events
  • Verify job runs fmt, clippy, and tests before publishing
  • Publish job uses cargo publish with CARGO_REGISTRY_TOKEN secret

Risk

  • Low
  • Publishing will fail if the secret is not configured, but won't affect other workflows

Checklist

  • Tests added or updated
  • Backward compatibility considered

Add GitHub Actions workflow that publishes to crates.io when a release
is published. The workflow:
- Verifies code quality (fmt, clippy, tests) before publishing
- Validates the package with cargo package
- Publishes using CARGO_REGISTRY_TOKEN secret
@chaliy chaliy merged commit efa69d6 into main Jan 10, 2026
8 checks passed
@chaliy chaliy deleted the claude/add-crates-publishing-QxcOS branch January 10, 2026 03:59
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