Skip to content

Commit 6b2ec58

Browse files
tashianclaude
andcommitted
Fix shellcheck SC2086 warnings for actionlint CI
- Add shellcheck disable=SC2086 for apt-get install where word splitting is intentional (multiple packages) - Quote gotestsum version string to prevent unnecessary word splitting Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 6e99b29 commit 6b2ec58

6 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
OS_DEPS: ${{ inputs.os-dependencies }}
4848
run: |
4949
sudo apt-get update
50+
# shellcheck disable=SC2086
5051
sudo apt-get install ${OS_DEPS}
5152
-
5253
name: Checkout

.github/workflows/goBuild.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ jobs:
5757
OS_DEPS: ${{ inputs.os-dependencies }}
5858
run: |
5959
sudo apt-get update
60+
# shellcheck disable=SC2086
6061
sudo apt-get install ${OS_DEPS}
6162
-
6263
name: Checkout

.github/workflows/goLint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
OS_DEPS: ${{ inputs.os-dependencies }}
4444
run: |
4545
sudo apt-get update
46+
# shellcheck disable=SC2086
4647
sudo apt-get install ${OS_DEPS}
4748
-
4849
name: Checkout

.github/workflows/goTest.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ jobs:
7474
OS_DEPS: ${{ inputs.os-dependencies }}
7575
run: |
7676
sudo apt-get update
77+
# shellcheck disable=SC2086
7778
sudo apt-get install ${OS_DEPS}
7879
-
7980
name: Checkout
@@ -128,7 +129,7 @@ jobs:
128129
env:
129130
GOTESTSUM_VERSION: ${{ inputs.gotestsum-version }}
130131
run: |
131-
go install gotest.tools/gotestsum@v${GOTESTSUM_VERSION}
132+
go install "gotest.tools/gotestsum@v${GOTESTSUM_VERSION}"
132133
-
133134
name: Setup BATS
134135
if: inputs.setup-bats

.github/workflows/goreleaser.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ jobs:
8383
OS_DEPS: ${{ inputs.os-dependencies }}
8484
run: |
8585
sudo apt-get update
86+
# shellcheck disable=SC2086
8687
sudo apt-get install ${OS_DEPS}
8788
-
8889
name: Checkout

.github/workflows/govulncheck.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
OS_DEPS: ${{ inputs.os-dependencies }}
2828
run: |
2929
sudo apt-get update
30+
# shellcheck disable=SC2086
3031
sudo apt-get install ${OS_DEPS}
3132
-
3233
name: Checkout

0 commit comments

Comments
 (0)