|
18 | 18 | api_breakage_check_container_image: |
19 | 19 | type: string |
20 | 20 | description: "Container image for the API breakage check job. Defaults to latest Swift Ubuntu image." |
21 | | - default: "swift:6.2-noble" |
| 21 | + default: "swift:6.3-noble" |
22 | 22 | docs_check_enabled: |
23 | 23 | type: boolean |
24 | 24 | description: "Boolean to enable the docs check job. Defaults to true." |
25 | 25 | default: true |
26 | 26 | docs_check_container_image: |
27 | 27 | type: string |
28 | 28 | description: "Container image for the docs check job. Defaults to latest Swift Ubuntu image." |
29 | | - default: "swift:6.2-noble" |
| 29 | + default: "swift:6.3-noble" |
30 | 30 | docs_check_additional_arguments: |
31 | 31 | type: string |
32 | 32 | description: "Additional arguments that should be passed to docc" |
|
94 | 94 | format_check_container_image: |
95 | 95 | type: string |
96 | 96 | description: "Container image for the format check job. Defaults to latest Swift Ubuntu image." |
97 | | - default: "swift:6.2-noble" |
| 97 | + default: "swift:6.3-noble" |
98 | 98 | shell_check_enabled: |
99 | 99 | type: boolean |
100 | 100 | description: "Boolean to enable the shell check job. Defaults to true." |
@@ -200,23 +200,21 @@ jobs: |
200 | 200 | else |
201 | 201 | echo "root=$GITHUB_WORKSPACE/github-workflows" >> $GITHUB_OUTPUT |
202 | 202 | fi |
203 | | - - name: Pre-build |
204 | | - if: ${{ inputs.linux_pre_build_command }} |
205 | | - # zizmor: ignore[template-injection] |
206 | | - run: ${{ inputs.linux_pre_build_command }} |
207 | 203 | - name: Run documentation check |
208 | 204 | env: |
209 | 205 | ADDITIONAL_DOCC_ARGUMENTS: ${{ inputs.docs_check_additional_arguments }} |
210 | 206 | DOCC_ANALYZE: ${{ inputs.docs_check_analyze }} |
211 | 207 | DOCS_TARGETS: ${{ inputs.docs_check_targets}} |
212 | 208 | SCRIPT_ROOT: ${{ steps.script_path.outputs.root }} |
213 | 209 | run: | |
| 210 | + set -x |
| 211 | + ${{ inputs.linux_pre_build_command }} |
214 | 212 | analyze_arg="" |
215 | 213 | doc_target_arg="" |
216 | | - if [[ "${DOCS_TARGETS}" != "" ]] ; then |
| 214 | + if [ "${DOCS_TARGETS}" != "" ] ; then |
217 | 215 | doc_target_arg="--doc-targets ${DOCS_TARGETS}" |
218 | 216 | fi |
219 | | - if [[ "${DOCC_ANALYZE}" != "true" ]]; then |
| 217 | + if [ "${DOCC_ANALYZE}" != "true" ]; then |
220 | 218 | analyze_arg="--no-analyze" |
221 | 219 | fi |
222 | 220 | "${SCRIPT_ROOT}/.github/workflows/scripts/check-docs.sh" ${analyze_arg} ${doc_target_arg} --additional-docc-arguments ${ADDITIONAL_DOCC_ARGUMENTS} |
@@ -263,12 +261,13 @@ jobs: |
263 | 261 | run: | |
264 | 262 | analyze_arg="" |
265 | 263 | doc_target_arg="" |
266 | | - if [[ "${DOCS_TARGETS}" != "" ]] ; then |
| 264 | + if [ "${DOCS_TARGETS}" != "" ] ; then |
267 | 265 | doc_target_arg="--doc-targets ${DOCS_TARGETS}" |
268 | 266 | fi |
269 | | - if [[ "${DOCC_ANALYZE}" != "true" ]]; then |
| 267 | + if [ "${DOCC_ANALYZE}" != "true" ]; then |
270 | 268 | analyze_arg="--no-analyze" |
271 | 269 | fi |
| 270 | + set -x |
272 | 271 | "${SCRIPT_ROOT}/.github/workflows/scripts/check-docs.sh" ${analyze_arg} ${doc_target_arg} --additional-docc-arguments ${ADDITIONAL_DOCC_ARGUMENTS} |
273 | 272 |
|
274 | 273 | unacceptable-language-check: |
|
0 commit comments