Skip to content

Commit 64b7938

Browse files
committed
Test all SQ supported Rubies
Updates the ruby test matrix to test the following Rubies: * SQ minimum supported version of Ruby: 3.1.6 - this is the terminal version of Ruby 3.1 which is due to EOL 3/31/25 * First and last version Ruby 3.2: 3.2.0 and 3.2.4 * Every version of Ruby 3.3: 3.3.0 - 3.3.6 * Every version of Ruby 3.4: 3.4.0 - 3.4.1 Updates gemspec for zeitwerk version requirement. Ruby 3.1.6 requires an older version of zeitwerk.
1 parent d82e39c commit 64b7938

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

.github/workflows/main.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Build
2-
on: [push, pull_request]
2+
on: [ push, pull_request ]
33

44
jobs:
55
rubocop:
@@ -22,8 +22,19 @@ jobs:
2222
strategy:
2323
fail-fast: false
2424
matrix:
25-
ruby-version: [3.3.5]
26-
database: [mysql, postgres, sqlite]
25+
ruby-version:
26+
- 3.1.6
27+
- 3.2.0
28+
- 3.2.4
29+
- 3.3.0
30+
- 3.3.1
31+
- 3.3.2
32+
- 3.3.4
33+
- 3.3.5
34+
- 3.3.6
35+
- 3.4.0
36+
- 3.4.1
37+
database: [ mysql, postgres, sqlite ]
2738
services:
2839
mysql:
2940
image: mysql:8.0.31

solid_queue.gemspec

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,8 @@ Gem::Specification.new do |spec|
3939
spec.add_development_dependency "rubocop-rails-omakase"
4040
spec.add_development_dependency "rdoc"
4141
spec.add_development_dependency "logger"
42+
43+
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("3.2")
44+
spec.add_development_dependency "zeitwerk", "2.6.0"
45+
end
4246
end

0 commit comments

Comments
 (0)