Skip to content

Commit 3049bae

Browse files
committed
fix(ci): only shim go on Linux — wrapper mode unsupported on macOS
1 parent 9ee178e commit 3049bae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/actions/setup/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,9 @@ runs:
147147
SSL_WORKAROUND=""
148148
SHIM_CMDS="npm yarn pnpm pip uv cargo"
149149
if [ "$SFW_IS_ENTERPRISE" = "true" ]; then
150-
SHIM_CMDS="npm yarn pnpm pip uv cargo gem bundler nuget go"
150+
SHIM_CMDS="npm yarn pnpm pip uv cargo gem bundler nuget"
151+
# Go wrapper mode is only supported on Linux.
152+
[[ "$OSTYPE" == linux* ]] && SHIM_CMDS="$SHIM_CMDS go"
151153
else
152154
SSL_WORKAROUND='export GIT_SSL_NO_VERIFY=true # Workaround: sfw-free does not yet set GIT_SSL_CAINFO.'
153155
fi

0 commit comments

Comments
 (0)