Skip to content

ci: add automated crates.io publishing to release workflow#706

Merged
bug-ops merged 1 commit intomainfrom
ci/crates-io-publish
Feb 21, 2026
Merged

ci: add automated crates.io publishing to release workflow#706
bug-ops merged 1 commit intomainfrom
ci/crates-io-publish

Conversation

@bug-ops
Copy link
Owner

@bug-ops bug-ops commented Feb 21, 2026

Summary

  • Add publish-crates job to release workflow triggered on v* tags
  • OIDC trusted publishing via rust-lang/crates-io-auth-action (no manual API token)
  • katyo/publish-crates handles workspace topological ordering with 15s inter-crate delay
  • Version tag verification before publishing
  • Job dependency: build-binaries -> publish-crates -> create-release

Setup required

Configure trusted publishers on crates.io for each workspace crate:

  • Repository: bug-ops/zeph
  • Workflow: release.yml
  • Environment: release

Create a release environment in GitHub repo settings (Settings > Environments).

Test plan

  • Push a tag to verify the workflow runs correctly
  • YAML syntax validated

@bug-ops bug-ops enabled auto-merge (squash) February 21, 2026 05:16
Add publish-crates job with OIDC trusted publishing via
rust-lang/crates-io-auth-action and katyo/publish-crates.
Runs after build-binaries, before create-release. Includes
tag-to-manifest version verification and 15s inter-crate delay
for workspace dependency resolution on the registry.
@bug-ops bug-ops force-pushed the ci/crates-io-publish branch from 22df91d to 5936816 Compare February 21, 2026 05:25
@bug-ops bug-ops merged commit 7f54de4 into main Feb 21, 2026
20 checks passed
@bug-ops bug-ops deleted the ci/crates-io-publish branch February 21, 2026 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant