Skip to content

Commit 2c80dee

Browse files
authored
github: Allow AsciiDoc content in tests to render diagrams
1 parent e9bda21 commit 2c80dee

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

‎.github/workflows/test.yml‎

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,24 @@ jobs:
4747
- name: Install Ruby
4848
uses: ruby/setup-ruby@44511735964dcb71245e7e55f72539531f7bc0eb # v1.257.0
4949
with:
50-
ruby-version: "2.7"
51-
bundler-cache: true #
50+
ruby-version: "3.4.5"
51+
- name: Install gems
52+
run: |
53+
gem install asciidoctor -v "2.0.26"
54+
gem install asciidoctor-diagram -v "3.0.1"
55+
gem install asciidoctor-diagram-plantuml -v "1.2025.3"
56+
- name: Install Java # required by asciidoctor-diagram-plantuml
57+
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
58+
with:
59+
distribution: temurin
60+
java-version: "25"
61+
java-package: jre
5262
- name: Install Python
5363
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
5464
with:
5565
python-version: "3.x"
5666
- name: Install Mage
5767
run: go install github.com/magefile/mage@v1.15.0
58-
- name: Install asciidoctor
59-
uses: reitzig/actions-asciidoctor@c642db5eedd1d729bb8c92034770d0b2f769eda6 # v2.0.2
6068
- name: Install docutils
6169
run: |
6270
pip install docutils

0 commit comments

Comments
 (0)