@@ -20,46 +20,48 @@ defaults:
2020
2121jobs :
2222 jruby_bundler :
23- name : Bundler on JRuby (${{ matrix.os }})
24- runs-on : ${{ matrix.os }}
23+ name : Bundler on JRuby (${{ matrix.os.name }})
24+ runs-on : ${{ matrix.os.value }}
2525
2626 env :
2727 RGV : ..
2828
2929 strategy :
3030 fail-fast : false
3131 matrix :
32- os : [ubuntu-22.04, windows-2022]
32+ os :
33+ - { name: Ubuntu, value: ubuntu-24.04 }
34+ - { name: Windows, value: windows-2022 }
3335
3436 steps :
35- - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
37+ - uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
3638 - name : Setup ruby
37- uses : ruby/setup-ruby@f321cf5a4d1533575411f8752cf25b86478b0442 # v1.193 .0
39+ uses : ruby/setup-ruby@c04af2bb7258bb6a03df1d3c1865998ac9390972 # v1.194 .0
3840 with :
3941 ruby-version : jruby-9.4.8.0
4042 bundler : none
4143 - name : Setup java
42- uses : actions/setup-java@2dfa2011c5b2a0f1489bf9e433881c92c1631f88 # v4.3 .0
44+ uses : actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.4 .0
4345 with :
4446 distribution : temurin
4547 java-version : 19.0.2
46- if : " !startsWith( matrix.os.name, 'ubuntu') "
48+ if : matrix.os.name != 'Ubuntu'
4749 - name : Prepare dependencies
4850 run : |
4951 bin/rake spec:parallel_deps
5052 - name : Run Test
5153 run : |
5254 bin/parallel_rspec --tag jruby_only --tag jruby
5355 working-directory : ./bundler
54- if : startsWith( matrix.os.name, 'ubuntu')
56+ if : matrix.os.name == 'Ubuntu'
5557 - name : Install local bundler
5658 run : |
5759 bin/rake bundler:install:local
58- if : startsWith( matrix.os.name, 'ubuntu')
60+ if : matrix.os.name == 'Ubuntu'
5961 - name : Run a warbler project
6062 run : |
61- cd spec/realworld/fixtures/warbler
63+ cd bundler/ spec/realworld/fixtures/warbler
6264 bundle install
6365 bundle exec warble
6466 java -jar warbler.jar
65- if : startsWith( matrix.os.name, 'ubuntu')
67+ if : matrix.os.name == 'Ubuntu'
0 commit comments