@@ -20,16 +20,18 @@ 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 :
3537 - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
@@ -43,23 +45,23 @@ jobs:
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