Skip to content

Conversation

@y-yagi
Copy link
Collaborator

@y-yagi y-yagi commented Jan 14, 2025

Ubuntu-latest workflows use Ubuntu-24.04 image now.
actions/runner-images#10636

But, it seems that old sqlite3 gem(for Ruby 2.4) doesn't work with it.
https://github.com/drapergem/draper/actions/runs/12762245525/job/35570471534?pr=940

So I fixed it to use Ubuntu 22.04. It may be better to use Ubuntu 22.04 only for Ruby 2.4. But, it would be complex.
Ubuntu 22.04 will be supported by Apr 2027. So it's OK to keep using it so far(And we should drop old Ruby versions before that).

Ubuntu-latest workflows use Ubuntu-24.04 image now.
actions/runner-images#10636

But, itt seems that old sqlite3 gem(for Ruby 2.4) doesn't work with it.
https://github.com/drapergem/draper/actions/runs/12762245525/job/35570471534?pr=940

So I fixed it to use Ubuntu 22.04
@y-yagi y-yagi changed the title Fix broken Ruby 2.4 build Use Ubuntu 22.04 image to fix broken Ruby 2.4 build Jan 14, 2025
@y-yagi y-yagi marked this pull request as ready for review January 14, 2025 06:37
Copy link
Collaborator

@Alexander-Senko Alexander-Senko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we make it conditional, just for Ruby 2.4? Testing everything against an old repository instead of the current one feels not right, but I'm OK with it for now.

@y-yagi y-yagi merged commit c4fa6cc into drapergem:master Jan 14, 2025
11 checks passed
@y-yagi y-yagi deleted the fix_ruby24_build branch January 14, 2025 07:39
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.

2 participants