Skip to content

Fix CI: replace deprecated Docker actions with ruby/setup-ruby#5

Open
kitcommerce wants to merge 1 commit intomasterfrom
fix-ci-ruby-27-actions
Open

Fix CI: replace deprecated Docker actions with ruby/setup-ruby#5
kitcommerce wants to merge 1 commit intomasterfrom
fix-ci-ruby-27-actions

Conversation

@kitcommerce
Copy link

Summary

This PR modernizes CI to fix the broken workarea-commerce/ci Docker actions.

Changes

CI Workflow

  • Removed: workarea-commerce/ci/*@v1 Docker actions (deprecated node12, ruby:2.6 EOL)
  • Added: Native GitHub Actions with ruby/setup-ruby@v1
  • Services: MongoDB 4.4, Elasticsearch 5.6, Redis 6 (via GH Actions services)
  • Ruby matrix: 2.7 (primary) + 3.2 (informational)

Gemfile

  • Fixed workarea reference: masterv3.5-stable (resolves bundle install failures)
  • Added bundler-audit gem for security audits

Testing

CI will run automatically. Expected:

  • ✅ Lint job passes (RuboCop + bundler-audit)
  • ⚠️ Test jobs may surface pre-existing test failures (hidden by broken CI)

Related

- Replace workarea-commerce/ci/*@v1 Docker actions (node12, ruby:2.6)
- Use ruby/setup-ruby@v1 with Ruby 2.7 + 3.2 matrix
- Use native GitHub Actions services (MongoDB, Elasticsearch, Redis)
- Fix Gemfile: reference workarea@v3.5-stable instead of master
- Add bundler-audit gem for security audits

Addresses: workarea-commerce/workarea#724
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.

1 participant