Skip to content

Commit be7e578

Browse files
authored
Fix Ubuntu version (#232)
1 parent 2193aba commit be7e578

File tree

1 file changed

+27
-2
lines changed

1 file changed

+27
-2
lines changed

.github/workflows/benchmarks.yml

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
matrix:
1515
ruby-version: [
1616
'ruby-head', '3.2', '3.1', '3.0', '2.7', '2.6', '2.5', '2.4',
17-
'jruby-head', 'jruby-9.1',
18-
'truffleruby-head', 'truffleruby-22'
17+
'jruby-head',
18+
'truffleruby-head'
1919
]
2020

2121
steps:
@@ -34,6 +34,31 @@ jobs:
3434
run: bundle exec rake
3535

3636
rake_old:
37+
runs-on: ubuntu-22.04
38+
39+
strategy:
40+
matrix:
41+
ruby-version: [
42+
'jruby-9.1',
43+
'truffleruby-22'
44+
]
45+
46+
steps:
47+
- name: Set Share Env
48+
if: github.ref_name == 'main'
49+
run: |
50+
echo "SHARE=1" >> $GITHUB_ENV
51+
- uses: actions/checkout@v3
52+
- name: Set up Ruby ${{ matrix.ruby-version }}
53+
uses: ruby/setup-ruby@v1
54+
with:
55+
ruby-version: ${{ matrix.ruby-version }}
56+
- name: Install dependencies
57+
run: bundle install
58+
- name: Run benchmarks
59+
run: bundle exec rake
60+
61+
rake_older:
3762
runs-on: ubuntu-20.04
3863

3964
strategy:

0 commit comments

Comments
 (0)