Skip to content

WA-NEW-012: Update GitHub Actions CI Ruby version (>= 2.7) #636

@kitcommerce

Description

@kitcommerce

Problem

CI on next and all current PRs is red because GitHub Actions is running Ruby 2.6.10 (see run 22201068208), but workarea-core requires Ruby >= 2.7.0, < 3.3.0. Bundler fails during dependency resolution.

Goal

Make CI green again by updating CI to run Ruby >= 2.7 (prefer 2.7.8 for now, consistent with local dev), and ensure this applies to next and PRs targeting next.

Scope

  • Update the workflow(s) in .github/workflows/* and/or the shared workarea-commerce/ci@v1 action inputs to use Ruby >= 2.7
  • Decide whether to pin to 2.7.8 or move to a matrix (2.7 + 3.1)
  • Ensure bundler-cache still works

Acceptance Criteria

  • Latest CI run on next passes bundler install step
  • At least one PR run completes all jobs past bundler install
  • Document Ruby version choice in repo (README/dev docs or workflow comments)

Notes

  • Current failure excerpt: Because every version of workarea-core depends on Ruby >= 2.7.0 ... current Ruby version is = 2.6.10, version solving has failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions