|
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,25 +200,27 @@ 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 }} |
| 203 | + # - name: Pre-build |
| 204 | + # if: ${{ inputs.linux_pre_build_command }} |
| 205 | + # # zizmor: ignore[template-injection] |
| 206 | + # run: ${{ inputs.linux_pre_build_command }} |
207 | 207 | - name: Run documentation check |
208 | 208 | env: |
209 | 209 | ADDITIONAL_DOCC_ARGUMENTS: ${{ inputs.docs_check_additional_arguments }} |
210 | 210 | DOCC_ANALYZE: ${{ inputs.docs_check_analyze }} |
211 | 211 | DOCS_TARGETS: ${{ inputs.docs_check_targets}} |
212 | 212 | SCRIPT_ROOT: ${{ steps.script_path.outputs.root }} |
213 | 213 | run: | |
| 214 | + ${{ inputs.linux_pre_build_command }} |
214 | 215 | analyze_arg="" |
215 | 216 | doc_target_arg="" |
216 | | - if [[ "${DOCS_TARGETS}" != "" ]] ; then |
| 217 | + if [ "${DOCS_TARGETS}" != "" ] ; then |
217 | 218 | doc_target_arg="--doc-targets ${DOCS_TARGETS}" |
218 | 219 | fi |
219 | | - if [[ "${DOCC_ANALYZE}" != "true" ]]; then |
| 220 | + if [ "${DOCC_ANALYZE}" != "true" ]; then |
220 | 221 | analyze_arg="--no-analyze" |
221 | 222 | fi |
| 223 | + set -x |
222 | 224 | "${SCRIPT_ROOT}/.github/workflows/scripts/check-docs.sh" ${analyze_arg} ${doc_target_arg} --additional-docc-arguments ${ADDITIONAL_DOCC_ARGUMENTS} |
223 | 225 |
|
224 | 226 | docs-check-macos: |
@@ -263,12 +265,13 @@ jobs: |
263 | 265 | run: | |
264 | 266 | analyze_arg="" |
265 | 267 | doc_target_arg="" |
266 | | - if [[ "${DOCS_TARGETS}" != "" ]] ; then |
| 268 | + if [ "${DOCS_TARGETS}" != "" ] ; then |
267 | 269 | doc_target_arg="--doc-targets ${DOCS_TARGETS}" |
268 | 270 | fi |
269 | | - if [[ "${DOCC_ANALYZE}" != "true" ]]; then |
| 271 | + if [ "${DOCC_ANALYZE}" != "true" ]; then |
270 | 272 | analyze_arg="--no-analyze" |
271 | 273 | fi |
| 274 | + set -x |
272 | 275 | "${SCRIPT_ROOT}/.github/workflows/scripts/check-docs.sh" ${analyze_arg} ${doc_target_arg} --additional-docc-arguments ${ADDITIONAL_DOCC_ARGUMENTS} |
273 | 276 |
|
274 | 277 | unacceptable-language-check: |
|
0 commit comments