File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 9797 java_version : ' 17' # JRuby 10 requires Java 21
9898 fail-fast : false
9999
100+ env :
101+ BUNDLE_GEMFILE : gemfiles/${{ matrix.appraisal }}.gemfile
102+ JRUBY_VERSION : ${{ matrix.jruby_version }}
103+
100104 steps :
101105 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
102106
@@ -111,11 +115,9 @@ jobs:
111115 uses : ruby/setup-ruby@e34163cd15f4bb403dcd72d98e295997e6a55798 # v1.238.0
112116 with :
113117 ruby-version : jruby-${{ matrix.jruby_version }}
114- bundler : 2.3.27 # use version that is OK for JRuby 9.3
118+ bundler-cache : ' false' # Need to install later so we can vary from Gemfile.lock as required for JRuby version compatibility
119+ bundler : ${{ startsWith(matrix.jruby_version, '9.3') && '2.3.27' || 'Gemfile.lock' }}
115120
116121 - name : Run appraisal for ${{ matrix.appraisal }}
117- env :
118- BUNDLE_GEMFILE : gemfiles/${{ matrix.appraisal }}.gemfile
119- JRUBY_VERSION : ${{ matrix.jruby_version }}
120122 run : bundle install && bundle exec rake spec
121123
You can’t perform that action at this time.
0 commit comments