1111permissions :
1212 contents : read
1313
14- # Cancel superseded runs on the same branch/PR to save runner minutes.
1514concurrency :
1615 group : ${{ github.workflow }}-${{ github.ref }}
1716 cancel-in-progress : ${{ github.event_name == 'pull_request' }}
@@ -25,16 +24,16 @@ jobs:
2524 name : Gradle Check (${{ matrix.os }})
2625 runs-on : ${{ matrix.os }}
2726 strategy :
28- fail-fast : false # one platform failing should not hide the others
27+ fail-fast : false
2928 matrix :
3029 os : [ ubuntu-latest, windows-latest, macos-latest ]
3130 steps :
32- - uses : actions/checkout@v4
31+ - uses : actions/checkout@v5
3332 with :
3433 fetch-depth : 0 # required by the git-changelog / version derivation
3534
3635 - name : Set up JDK ${{ env.JAVA_VERSION }}
37- uses : actions/setup-java@v4
36+ uses : actions/setup-java@v5
3837 with :
3938 java-version : ${{ env.JAVA_VERSION }}
4039 distribution : ${{ env.JAVA_DISTRIBUTION }}
4948
5049 - name : Upload test reports
5150 if : always()
52- uses : actions/upload-artifact@v4
51+ uses : actions/upload-artifact@v5
5352 with :
5453 name : test-reports-${{ matrix.os }}
5554 path : |
@@ -68,12 +67,12 @@ jobs:
6867 # windows-latest disabled: see #<issue> — record the reason, not just the comment
6968 os : [ ubuntu-latest, macos-latest ]
7069 steps :
71- - uses : actions/checkout@v4
70+ - uses : actions/checkout@v5
7271 with :
7372 fetch-depth : 0
7473
7574 - name : Set up JDK ${{ env.JAVA_VERSION }}
76- uses : actions/setup-java@v4
75+ uses : actions/setup-java@v5
7776 with :
7877 java-version : ${{ env.JAVA_VERSION }}
7978 distribution : ${{ env.JAVA_DISTRIBUTION }}
@@ -90,12 +89,12 @@ jobs:
9089 permissions :
9190 contents : read
9291 steps :
93- - uses : actions/checkout@v4
92+ - uses : actions/checkout@v5
9493 with :
9594 fetch-depth : 0
9695
9796 - name : Set up JDK ${{ env.JAVA_VERSION }}
98- uses : actions/setup-java@v4
97+ uses : actions/setup-java@v5
9998 with :
10099 java-version : ${{ env.JAVA_VERSION }}
101100 distribution : ${{ env.JAVA_DISTRIBUTION }}
@@ -132,23 +131,27 @@ jobs:
132131 name : github-pages
133132 url : ${{ steps.deployment.outputs.page_url }}
134133 steps :
135- - uses : actions/checkout@v4
134+ - uses : actions/checkout@v5
136135 with :
137136 fetch-depth : 0 # gitChangelogTask needs full history
138137
139138 - name : Set up JDK ${{ env.JAVA_VERSION }}
140- uses : actions/setup-java@v4
139+ uses : actions/setup-java@v5
141140 with :
142141 java-version : ${{ env.JAVA_VERSION }}
143142 distribution : ${{ env.JAVA_DISTRIBUTION }}
144143
145144 - name : Set up Gradle
146145 uses : gradle/actions/setup-gradle@v4
147146
148- - uses : actions/setup-python@v5
147+ # cache: 'pip' needs a dependency file to key on. setup-python only looks for
148+ # **/requirements.txt or **/pyproject.toml by default, neither of which exists in this
149+ # repo — hence "No file ... matched". cache-dependency-path points it at the file we keep.
150+ - uses : actions/setup-python@v6
149151 with :
150152 python-version : ' 3.12'
151153 cache : ' pip'
154+ cache-dependency-path : ' .github/requirements-docs.txt'
152155
153156 # Only xsltproc comes from apt. `sphinx-common` used to be installed here as well; it
154157 # pulled in python3-sphinx / python3-docutils / python3-pil from the runner's stale apt
@@ -163,15 +166,7 @@ jobs:
163166 - name : Install Python dependencies
164167 run : |
165168 python -m pip install --upgrade pip
166- python -m pip install \
167- 'sphinx>=7,<9' \
168- manticore_sphinx_theme \
169- sphinx_javadoc_xml \
170- myst_parser \
171- sphinx_substitution_extensions \
172- sphinx_issues \
173- sphinx_inline_tabs \
174- pygments
169+ python -m pip install -r .github/requirements-docs.txt
175170
176171 - name : Build Sphinx documentation with Gradle
177172 env :
@@ -182,10 +177,10 @@ jobs:
182177 uses : actions/configure-pages@v5
183178
184179 - name : Upload artifact
185- uses : actions/upload-pages-artifact@v3
180+ uses : actions/upload-pages-artifact@v5
186181 with :
187182 path : ' build/sphinx'
188183
189184 - name : Deploy to GitHub Pages
190185 id : deployment
191- uses : actions/deploy-pages@v4
186+ uses : actions/deploy-pages@v5
0 commit comments