Skip to content

Modernize GitHub Actions and add a guarded manual release workflow for crates.io#33

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/make-workflow-versions-latest
Draft

Modernize GitHub Actions and add a guarded manual release workflow for crates.io#33
Copilot wants to merge 3 commits intomainfrom
copilot/make-workflow-versions-latest

Conversation

Copy link
Copy Markdown

Copilot AI commented Mar 26, 2026

This PR updates existing CI workflows to current maintained GitHub Actions and introduces a manual release workflow that bumps crate versions and publishes both crates to crates.io. The release path now includes basic guardrails to reduce accidental duplicate/partial releases.

  • CI workflow modernization

    • Updated workflows to maintained action versions:
      • actions/checkout@v4
      • Swatinem/rust-cache@v2
      • dtolnay/rust-toolchain@stable
    • Removed deprecated actions-rs/* usage and switched Ubuntu cargo steps to direct run commands.
  • New manual release workflow

    • Added .github/workflows/release.yml with workflow_dispatch input: version.
    • Workflow performs:
      • remote tag pre-check (v<version>)
      • semver format validation
      • version bump across workspace crates:
        • builder-pattern
        • builder-pattern-macro
        • test-no-future
      • dependent version pin updates between local path crates
      • commit of release manifests
      • publish via existing ./scripts/publish.sh
      • push commit + tag only after successful publish
  • Release safety/operational guardrails

    • Added concurrency for serialized release runs.
    • Added explicit failure checks/messages for version update and publish-script execution.
on:
  workflow_dispatch:
    inputs:
      version:
        required: true
        type: string

concurrency:
  group: release
  cancel-in-progress: false
Original prompt

This section details on the original issue you should resolve

<issue_title>Make GitHub Actions latest and add a release action</issue_title>
<issue_description>1. Make workflow versions latest
2. Add an action bumps the version up and publishes to crates.io</issue_description>

Comments on the Issue (you are @copilot in this section)


📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.

Copilot AI and others added 2 commits March 26, 2026 01:20
Co-authored-by: SeokminHong <11614766+SeokminHong@users.noreply.github.com>
Agent-Logs-Url: https://github.com/SeokminHong/builder-pattern/sessions/9b2ce6b3-8ee2-4548-8273-2ebf33fd156d
Copilot AI changed the title [WIP] Update GitHub Actions to latest versions and add release action Modernize GitHub Actions and add a guarded manual release workflow for crates.io Mar 26, 2026
Copilot AI requested a review from SeokminHong March 26, 2026 01:26
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.

Make GitHub Actions latest and add a release action

2 participants