@@ -25,13 +25,16 @@ jobs:
25
25
lint :
26
26
runs-on : ubuntu-20.04
27
27
if : ${{ github.event_name == 'pull_request' }}
28
+ strategy :
29
+ matrix :
30
+ ruby-version : ['3.2', '3.3']
28
31
steps :
29
32
- uses : actions/checkout@v4
30
33
with :
31
34
fetch-depth : 0
32
35
- uses : ruby/setup-ruby@v1
33
36
with :
34
- ruby-version : " 3.2 "
37
+ ruby-version : ${{ matrix.ruby }}
35
38
bundler-cache : true
36
39
- run : ./bin/setup
37
40
- run : bundle exec rake check:type
@@ -73,11 +76,14 @@ jobs:
73
76
runs-on : ubuntu-20.04
74
77
outputs :
75
78
entries : ${{ steps.set-matrix.outputs.entries }}
79
+ strategy :
80
+ matrix :
81
+ ruby-version : ['3.2', '3.3']
76
82
steps :
77
83
- uses : actions/checkout@v4
78
84
- uses : ruby/setup-ruby@v1
79
85
with :
80
- ruby-version : " 3.2 "
86
+ ruby-version : ${{ matrix.ruby-version}}
81
87
bundler-cache : true
82
88
- run : ./bin/setup
83
89
- run : rake ci:pin_build_manifest
98
104
fail-fast : false
99
105
matrix :
100
106
entry : ${{ fromJson(needs.build-rake-task-matrix.outputs.entries) }}
101
-
107
+ ruby-version : ['3.2', '3.3']
102
108
needs : [build-rake-task-matrix]
103
109
runs-on : ubuntu-20.04
104
110
steps :
@@ -144,7 +150,7 @@ jobs:
144
150
- uses : ruby/setup-ruby@v1
145
151
if : ${{ matrix.entry.test != '' }}
146
152
with :
147
- ruby-version : " 3.2 "
153
+ ruby-version : ${{ matrix.ruby-version }}
148
154
bundler-cache : false
149
155
- name : rake ${{ matrix.entry.test }}
150
156
run : |
@@ -161,6 +167,9 @@ jobs:
161
167
needs : [rake-tasks]
162
168
runs-on : ubuntu-20.04
163
169
if : ${{ startsWith(github.ref, 'refs/tags/') || inputs.publish }}
170
+ strategy :
171
+ matrix :
172
+ ruby-version : ['3.2', '3.3']
164
173
steps :
165
174
- uses : actions/checkout@v4
166
175
- uses : actions/download-artifact@v4
@@ -175,7 +184,7 @@ jobs:
175
184
registry-url : https://registry.npmjs.org/
176
185
- uses : ruby/setup-ruby@v1
177
186
with :
178
- ruby-version : " 3.2 "
187
+ ruby-version : ${{ matrix.ruby-version }}
179
188
bundler-cache : true
180
189
- run : ./bin/setup
181
190
- run : echo "PREREL_NAME=${{ inputs.prerel_name }}" >> $GITHUB_ENV
0 commit comments