@@ -17,23 +17,10 @@ jobs:
1717 strategy :
1818 fail-fast : false
1919 matrix :
20- os : [ ubuntu-20.04, ubuntu- 22.04, ubuntu-24.04, macos-13, macos-14, macos-15, windows-2019, windows-2022, windows-2025 ]
20+ os : [ ubuntu-22.04-arm , ubuntu-24.04-arm ]
2121 ruby : [
22- ' 1.9' , '2.0', '2.1', '2.2', '2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', '3.4', ruby-head,
23- jruby, jruby-head,
24- truffleruby, truffleruby-head,
25- truffleruby+graalvm, truffleruby+graalvm-head
22+ ' 3.4'
2623 ]
27- include :
28- - { os: windows-2019, ruby: mingw }
29- - { os: windows-2019, ruby: mswin }
30- - { os: windows-2022, ruby: mingw }
31- - { os: windows-2022, ruby: mswin }
32- - { os: windows-2022, ruby: ucrt }
33- - { os: windows-2025, ruby: mingw }
34- - { os: windows-2025, ruby: mswin }
35- - { os: windows-2025, ruby: ucrt }
36- - { os: ubuntu-24.04, ruby: asan }
3724 exclude :
3825 # https://github.com/ruby/setup-ruby/issues/496
3926 - { os: ubuntu-22.04, ruby: '2.2' }
@@ -179,199 +166,6 @@ jobs:
179166 if : startsWith(matrix.os, 'windows') && startsWith(matrix.ruby, 'jruby')
180167 run : gem install sassc
181168
182- testNoGemfile :
183- name : " Test with no Gemfile"
184- runs-on : ubuntu-latest
185- steps :
186- - uses : actions/checkout@v4
187- - run : rm Gemfile
188- - uses : ./
189- with :
190- ruby-version : ' 2.6'
191- - run : ruby -v
192-
193- testLatestRubygemsVersion :
194- name : " Test rubygems: latest on ${{ matrix.ruby }}"
195- runs-on : ubuntu-latest
196- strategy :
197- fail-fast : false
198- matrix :
199- include :
200- - { ruby: '3.2', expected_rubygems_version: '3.6.1' }
201- - { ruby: '3.0', expected_rubygems_version: '3.5.23' }
202- - { ruby: '2.7', expected_rubygems_version: '3.4.22' }
203- - { ruby: '2.6', expected_rubygems_version: '3.4.22' }
204- - { ruby: '2.5', expected_rubygems_version: '3.3.27' }
205- - { ruby: '2.3', expected_rubygems_version: '3.3.27' }
206- - { ruby: '2.0', expected_rubygems_version: '2.7.11' }
207- steps :
208- - uses : actions/checkout@v4
209- - uses : ./
210- with :
211- ruby-version : ${{ matrix.ruby }}
212- rubygems : latest
213- - run : ruby -e 'puts Gem::VERSION; exit(Gem.rubygems_version >= Gem::Version.new("${{ matrix.expected_rubygems_version }}"))'
214-
215- testFixedRubygemsVersionUpgrades :
216- name : " Test rubygems: version upgrades RubyGems to that version if the default is older"
217- runs-on : ubuntu-latest
218- steps :
219- - uses : actions/checkout@v4
220- - uses : ./
221- with :
222- ruby-version : ' 2.6'
223- rubygems : 3.2.3
224- - run : gem --version | grep -F "3.2.3"
225-
226- testFixedRubygemsVersionNoop :
227- name : " Test rubygems: version noops if the default is newer"
228- runs-on : ubuntu-latest
229- steps :
230- - uses : actions/checkout@v4
231- - uses : ./
232- with :
233- ruby-version : ' 3.1.0'
234- rubygems : 3.2.3
235- - run : gem --version | grep -F "3.3.3"
236-
237- testUseBundlerFromRubyGemsUpdate :
238- name : " Test rubygems: version uses the Bundler installed by the rubygems update"
239- runs-on : ubuntu-latest
240- steps :
241- - uses : actions/checkout@v4
242- - uses : ./
243- with :
244- ruby-version : ' 3.1.0'
245- rubygems : 3.4.0
246- - run : gem --version | grep -F "3.4.0"
247- - run : bundle --version | grep -F "2.4.0"
248-
249- testFixedBundlerVersionForOldRuby :
250- name : " Test bundler: 1.x for old Ruby"
251- runs-on : ubuntu-20.04
252- steps :
253- - uses : actions/checkout@v4
254- - uses : ./
255- with :
256- ruby-version : ' 2.2'
257- bundler : 1.16.6
258- - run : bundle --version | grep -F "1.16.6" # And not 1.17.x from ~> 1
259-
260- testMajorBundlerVersion :
261- name : " Test with a major Bundler version"
262- runs-on : ubuntu-latest
263- steps :
264- - uses : actions/checkout@v4
265- - uses : ./
266- with :
267- ruby-version : ' 2.6'
268- bundler : 2
269- - run : bundle --version | grep -P "Bundler version 2\.\d+\.\d+"
270-
271- testMinorBundlerVersion :
272- name : " Test with a minor Bundler version"
273- runs-on : ubuntu-latest
274- steps :
275- - uses : actions/checkout@v4
276- - uses : ./
277- with :
278- ruby-version : ' 2.6'
279- bundler : 2.2
280- - run : bundle --version | grep -P "Bundler version 2\.2\.\d+"
281-
282- testExactBundlerVersion :
283- name : " Test with an exact Bundler version"
284- runs-on : ubuntu-latest
285- steps :
286- - uses : actions/checkout@v4
287- - uses : ./
288- with :
289- ruby-version : ' 2.6'
290- bundler : 2.2.3
291- - run : bundle --version | grep -F "Bundler version 2.2.3"
292-
293- testBundlerPre :
294- name : " Test with a Bundler pre/rc version"
295- runs-on : ubuntu-latest
296- steps :
297- - uses : actions/checkout@v4
298- - uses : ./
299- with :
300- ruby-version : ' 2.6'
301- bundler : 2.2.0.rc.2
302- - run : bundle --version | grep -F "Bundler version 2.2.0.rc.2"
303-
304- testBundlerDev :
305- name : " Test BUNDLED WITH Bundler dev"
306- runs-on : ubuntu-latest
307- env :
308- BUNDLE_GEMFILE : ${{ github.workspace }}/gemfiles/bundler-dev.gemfile
309- steps :
310- - uses : actions/checkout@v4
311- - uses : ./
312- with :
313- ruby-version : ruby-head
314- bundler-cache : true
315-
316- testDependencyOnBundler1 :
317- name : " Test gemfile depending on Bundler 1"
318- runs-on : ubuntu-latest
319- env :
320- BUNDLE_GEMFILE : ${{ github.workspace }}/gemfiles/bundler1.gemfile
321- steps :
322- - uses : actions/checkout@v4
323- - uses : ./
324- with :
325- ruby-version : ' 2.7'
326- bundler : 1
327- bundler-cache : true
328- - run : bundle --version | grep -F "Bundler version 1."
329-
330- testGemfileMatrix :
331- strategy :
332- fail-fast : false
333- matrix :
334- gemfile : [ rails5, rails6 ]
335- name : " Test with ${{ matrix.gemfile }} gemfile"
336- runs-on : ubuntu-latest
337- env :
338- BUNDLE_GEMFILE : ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
339- steps :
340- - uses : actions/checkout@v4
341- - uses : ./
342- with :
343- ruby-version : ' 2.6'
344- bundler-cache : true
345- - run : bundle exec rails --version
346- env :
347- RUBYOPT : ' -rlogger' # Rails 6 is missing a require 'logger' in active_support/logger_thread_safe_level.rb
348-
349- testTruffleRubyNokogiri :
350- name : " Test installing a Gemfile with nokogiri on TruffleRuby"
351- runs-on : ubuntu-latest
352- env :
353- BUNDLE_GEMFILE : ${{ github.workspace }}/gemfiles/nokogiri.gemfile
354- steps :
355- - uses : actions/checkout@v4
356- - uses : ./
357- with :
358- ruby-version : truffleruby-head
359- bundler-cache : true
360- - run : bundle list | grep nokogiri
361-
362- testWindowsToolchain :
363- name : " Test windows-toolchain: none"
364- runs-on : windows-latest
365- steps :
366- - uses : actions/checkout@v4
367- - uses : ./
368- with :
369- ruby-version : ' 2.7'
370- windows-toolchain : none
371- bundler : none
372- - name : C:/msys64/mingw64/bin/gcc.exe not installed
373- run : ruby -e "abort if File.exist?('C:/msys64/mingw64/bin/gcc.exe')"
374-
375169 lint :
376170 runs-on : ubuntu-20.04
377171 steps :
0 commit comments