Skip to content

Modernize CI and dependency setup#55

Merged
reidmorrison merged 2 commits into
mainfrom
chore/modernize-ci-and-deps
Jul 3, 2026
Merged

Modernize CI and dependency setup#55
reidmorrison merged 2 commits into
mainfrom
chore/modernize-ci-and-deps

Conversation

@reidmorrison

Copy link
Copy Markdown
Owner

Summary

Housekeeping to modernize CI and the dependency declarations. No changes to gem runtime code.

  • CI: actions/checkout v2 → v4 in both the lint and test jobs (v2 runs on a retired Node runner).
  • CI: pin MongoDB service to mongo:8 (was unpinned mongo/latest) so a future MongoDB major can't silently break the build. Mongo 8 is supported by Mongoid 8.1–9.1.
  • CI: add a non-blocking JRuby job. New matrix entry jruby-10.0 on the Mongoid 9.0 gemfile, gated by a per-entry continue-on-error: ${{ matrix.experimental || false }}. This actually exercises the :jruby gems Appraisals already declares (activerecord-jdbcsqlite3-adapter, jdbc-sqlite3) without blocking merges. MRI jobs remain blocking.
  • Add .github/dependabot.yml for weekly github-actions updates (bundler is omitted since no lockfiles are committed).
  • Gemfile: track Mongoid ~> 9.1.0 and drop the semantic_logger git pin (5.0.0 is released on RubyGems).
  • Appraisals / gemfiles: bump activerecord to ~> 7.2.3 and remove the semantic_logger git pin.

Notes

  • No runtime dependency in the gemspec changes; these edits are CI + dev/test scaffolding only.
  • gemfiles/*.lock are gitignored (unchanged), so CI resolves fresh.

🤖 Generated with Claude Code

reidmorrison and others added 2 commits July 2, 2026 22:43
- CI: bump actions/checkout v2 -> v4 (retired Node runner)
- CI: pin MongoDB service image to mongo:8 so a future Mongo major
  can't silently break the build
- CI: add a non-blocking JRuby 10 test entry (Mongoid 9.0) via a
  per-entry continue-on-error flag, exercising the :jruby gems that
  Appraisals already declares without blocking merges
- Add .github/dependabot.yml for weekly github-actions updates
- Gemfile: track Mongoid 9.1 and drop the semantic_logger git pin
  (5.0.0 is released on RubyGems)
- Appraisals/gemfiles: bump activerecord to ~> 7.2.3 and remove the
  semantic_logger git pin

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Job-level continue-on-error keeps the workflow green but the individual
matrix check still reports failure on the PR. Move continue-on-error to
the Set up Ruby and Run Tests steps so the JRuby job itself succeeds,
giving a genuinely non-blocking (green) check.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@reidmorrison reidmorrison merged commit 2c1561d into main Jul 3, 2026
10 checks passed
@reidmorrison reidmorrison deleted the chore/modernize-ci-and-deps branch July 3, 2026 02:52
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