File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 19
19
env :
20
20
TEST_ARGS : -coverprofile coverage.out -covermode atomic
21
21
TEST_GEM_DIR : ruby/testdata/example/
22
+ GO_GEM_DIR : gem/
22
23
23
24
jobs :
24
25
test :
@@ -158,12 +159,45 @@ jobs:
158
159
status : ${{ job.status }}
159
160
webhook-url : ${{ secrets.SLACK_WEBHOOK }}
160
161
162
+ go_gem :
163
+ name : " go_gem (Ruby ${{ matrix.ruby }})"
164
+
165
+ runs-on : ubuntu-latest
166
+
167
+ strategy :
168
+ fail-fast : false
169
+
170
+ matrix :
171
+ ruby :
172
+ - " 3.3"
173
+
174
+ steps :
175
+ - uses : actions/checkout@v4
176
+
177
+ - uses : ruby/setup-ruby@v1
178
+ with :
179
+ ruby-version : ${{ matrix.ruby }}
180
+ bundler-cache : true
181
+
182
+ - run : bundle exec rspec
183
+ working-directory : ${{ env.GO_GEM_DIR }}
184
+
185
+ - name : Slack Notification (not success)
186
+ uses : act10ns/slack@v2
187
+ if : " ! success()"
188
+ continue-on-error : true
189
+ with :
190
+ status : ${{ job.status }}
191
+ webhook-url : ${{ secrets.SLACK_WEBHOOK }}
192
+ matrix : ${{ toJson(matrix) }}
193
+
161
194
notify :
162
195
needs :
163
196
- test
164
197
- go-lint
165
198
- ruby-lint
166
199
- ruby-rbs
200
+ - go_gem
167
201
168
202
runs-on : ubuntu-latest
169
203
You can’t perform that action at this time.
0 commit comments