Skip to content

Commit 4c8a062

Browse files
committed
Add doc build test with Ruby 4.0 in PR CI
1 parent 27bfdc6 commit 4c8a062

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/pull_request.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,21 @@ jobs:
3636
- run: python3 generate-code.py
3737
- run: bundle exec rake ci
3838

39+
build-doc:
40+
runs-on: ubuntu-latest
41+
permissions:
42+
contents: read
43+
name: Build docs with Ruby 4.0
44+
steps:
45+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
46+
with:
47+
submodules: true
48+
- uses: ruby/setup-ruby@19a43a6a2428d455dbd1b85344698725179c9d8c # v1.289.0
49+
with:
50+
ruby-version: '4.0'
51+
- run: bundle install
52+
- run: bundle exec yard doc
53+
3954
pinact:
4055
runs-on: ubuntu-latest
4156
permissions:

0 commit comments

Comments
 (0)