From f99c9c0358a86beb10c3b49c302edb0e86a7d483 Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Sat, 15 Nov 2025 12:28:33 -0800 Subject: [PATCH 1/2] Add GOBIN to PATH in CI --- .github/actions/setup-go/action.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/actions/setup-go/action.yml b/.github/actions/setup-go/action.yml index dbb0699c2f..ddd3f92032 100644 --- a/.github/actions/setup-go/action.yml +++ b/.github/actions/setup-go/action.yml @@ -46,6 +46,14 @@ runs: } Write-Host "✓ Verified: Microsoft Go is active" + - run: | + GOBIN=$(go env GOBIN) + if [ -z "$GOBIN" ]; then + GOBIN="$(go env GOPATH)/bin" + fi + echo "$GOBIN" >> $GITHUB_PATH + shell: bash + # Avoid hardcoding the cache keys more than once. - name: Get cache info shell: bash From 06485adbe90edf03ae093f3107edea502b621a3b Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Sat, 15 Nov 2025 12:35:06 -0800 Subject: [PATCH 2/2] name --- .github/actions/setup-go/action.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/actions/setup-go/action.yml b/.github/actions/setup-go/action.yml index ddd3f92032..4db30978d9 100644 --- a/.github/actions/setup-go/action.yml +++ b/.github/actions/setup-go/action.yml @@ -46,13 +46,14 @@ runs: } Write-Host "✓ Verified: Microsoft Go is active" - - run: | + - name: Add GOBIN to PATH + shell: bash + run: | GOBIN=$(go env GOBIN) if [ -z "$GOBIN" ]; then GOBIN="$(go env GOPATH)/bin" fi echo "$GOBIN" >> $GITHUB_PATH - shell: bash # Avoid hardcoding the cache keys more than once. - name: Get cache info