Skip to content

Commit eb9bf82

Browse files
committed
Run rbs on CI
1 parent 5401b4f commit eb9bf82

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/test.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,38 @@ jobs:
5050
webhook-url: ${{ secrets.SLACK_WEBHOOK }}
5151
matrix: ${{ toJson(matrix) }}
5252

53+
rbs:
54+
runs-on: ubuntu-latest
55+
56+
steps:
57+
- uses: actions/checkout@v4
58+
59+
- uses: ruby/setup-ruby@v1
60+
with:
61+
ruby-version: ruby
62+
bundler-cache: true
63+
64+
- name: bundle update
65+
run: |
66+
set -xe
67+
bundle config path vendor/bundle
68+
bundle update --jobs $(nproc) --retry 3
69+
70+
- run: bundle exec rake rbs:install
71+
- run: bundle exec rake rbs
72+
73+
- name: Slack Notification (not success)
74+
uses: act10ns/slack@v2
75+
if: "! success()"
76+
continue-on-error: true
77+
with:
78+
status: ${{ job.status }}
79+
webhook-url: ${{ secrets.SLACK_WEBHOOK }}
80+
5381
notify:
5482
needs:
5583
- test
84+
- rbs
5685

5786
runs-on: ubuntu-latest
5887

0 commit comments

Comments
 (0)