Skip to content

Commit 7200295

Browse files
committed
Update to Rails 7.2 and 8 in tests
* Rails <= 6 has a known issue with logger and the workaround causes CI failures: https://github.com/ruby/setup-ruby/actions/runs/14641011806/job/41083255632
1 parent bc1d550 commit 7200295

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

.github/workflows/test.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ jobs:
369369
strategy:
370370
fail-fast: false
371371
matrix:
372-
gemfile: [ rails5, rails6 ]
372+
gemfile: [ rails7, rails8 ]
373373
name: "Test with ${{ matrix.gemfile }} gemfile"
374374
runs-on: ubuntu-latest
375375
env:
@@ -378,11 +378,9 @@ jobs:
378378
- uses: actions/checkout@v4
379379
- uses: ./
380380
with:
381-
ruby-version: '2.6'
381+
ruby-version: '3.2'
382382
bundler-cache: true
383383
- run: bundle exec rails --version
384-
env:
385-
RUBYOPT: '-rlogger' # Rails 6 is missing a require 'logger' in active_support/logger_thread_safe_level.rb
386384

387385
testTruffleRubyNokogiri:
388386
name: "Test installing a Gemfile with nokogiri on TruffleRuby"
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
source "https://rubygems.org"
22

3-
gem "rails", "~> 5.2.0"
3+
gem "rails", "~> 7.2.0"
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
source "https://rubygems.org"
22

3-
gem "rails", "~> 6.0.0"
3+
gem "rails", "~> 8.0.0"

0 commit comments

Comments
 (0)