Skip to content

ci: add cargo publish workflow#10

Merged
chaliy merged 2 commits intomainfrom
claude/ci-cargo-publish-vNzhS
Jan 18, 2026
Merged

ci: add cargo publish workflow#10
chaliy merged 2 commits intomainfrom
claude/ci-cargo-publish-vNzhS

Conversation

@chaliy
Copy link
Contributor

@chaliy chaliy commented Jan 18, 2026

What

Add CI workflow to publish fetchkit crates to crates.io.

Why

Enable automated publishing of the library and CLI to crates.io when version tags are pushed.

How

  • New .github/workflows/publish.yml workflow
  • Triggers on version tags (v*.*.*) or manual dispatch
  • Runs tests before publishing
  • Publishes fetchkit first, then fetchkit-cli (with delay for index update)
  • Supports dry-run mode for testing

Changes

  1. .github/workflows/publish.yml - New publish workflow
  2. crates/fetchkit-cli/Cargo.toml - Add version to fetchkit dependency for crates.io compatibility
  3. AGENTS.md - Document publishing process

Risk

  • Low
  • Workflow only runs on explicit tag push or manual trigger
  • Requires CARGO_REGISTRY_TOKEN secret to be configured

Checklist

  • Unit tests are passed
  • Documentation is updated (AGENTS.md)
  • Specs are up to date and not in conflict

- Add publish.yml workflow triggered on version tags (v*)
- Support manual workflow dispatch with dry-run option
- Publish fetchkit library first, then fetchkit-cli
- Run tests before publishing
- Add version dependency to fetchkit-cli for crates.io compatibility
- Add "Publishing to crates.io" section with workflow details
- Document triggers, process, requirements, and release steps
- Add fetchers.md to available specs list
@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@chaliy chaliy merged commit 71691bb into main Jan 18, 2026
17 checks passed
@chaliy chaliy deleted the claude/ci-cargo-publish-vNzhS branch January 18, 2026 01:27
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