File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -105,13 +105,45 @@ jobs:
105105 status : ${{ job.status }}
106106 webhook-url : ${{ secrets.SLACK_WEBHOOK }}
107107
108+ yard :
109+ runs-on : ubuntu-latest
110+
111+ steps :
112+ - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
113+
114+ - uses : ruby/setup-ruby@ae195bbe749a7cef685ac729197124a48305c1cb # v1.276.0
115+ with :
116+ ruby-version : ruby
117+ bundler-cache : true
118+
119+ - name : bundle update
120+ run : |
121+ set -xe
122+ bundle config path vendor/bundle
123+ bundle update --all --jobs $(nproc) --retry 3
124+
125+ - name : yard generating test
126+ run : |
127+ set -xe
128+ bundle exec yard
129+ ls -ld doc/
130+
131+ - name : Slack Notification (not success)
132+ uses : act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
133+ if : " ! success()"
134+ continue-on-error : true
135+ with :
136+ status : ${{ job.status }}
137+ webhook-url : ${{ secrets.SLACK_WEBHOOK }}
138+
108139 all-pass :
109140 if : always()
110141
111142 needs :
112143 - test
113144 - rubocop
114145 - rbs
146+ - yard
115147
116148 runs-on : ubuntu-latest
117149
You can’t perform that action at this time.
0 commit comments