Skip to content

Commit 071bbad

Browse files
Switch shellcheck soundness check to a lighter weight image (#191)
This just installs and runs shellcheck. It doesn't need a 1 GB Swift toolchain image, use the much smaller baseline Ubuntu Noble variant. This makes shellcheck run faster and doesn't waste resources.
1 parent 54f71e9 commit 071bbad

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/soundness.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ on:
6565
default: true
6666
shell_check_container_image:
6767
type: string
68-
description: "Container image for the shell check job. Defaults to latest Swift Ubuntu image."
69-
default: "swift:6.2-noble"
68+
description: "Container image for the shell check job. Defaults to latest Ubuntu 24.04 Noble image."
69+
default: "ubuntu:noble"
7070
yamllint_check_enabled:
7171
type: boolean
7272
description: "Boolean to enable the YAML lint check job. Defaults to true."
@@ -293,6 +293,8 @@ jobs:
293293
image: ${{ inputs.shell_check_container_image }}
294294
timeout-minutes: 5
295295
steps:
296+
- name: Install git
297+
run: which git || (apt -q update && apt -yq install git)
296298
- name: Checkout repository
297299
uses: actions/checkout@v4
298300
with:

0 commit comments

Comments
 (0)