From ee0cd227680bc527612021de1adbc73f485bb8b1 Mon Sep 17 00:00:00 2001 From: bvolpato Date: Sun, 25 Oct 2026 02:02:53 -0400 Subject: [PATCH 1/2] [CI] Fix Go dependency cache path --- .github/actions/setup-environment-action/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/setup-environment-action/action.yml b/.github/actions/setup-environment-action/action.yml index b26d47fcc124..da3bf580bd71 100644 --- a/.github/actions/setup-environment-action/action.yml +++ b/.github/actions/setup-environment-action/action.yml @@ -104,4 +104,4 @@ runs: uses: actions/setup-go@v6 with: go-version: ${{ inputs.go-version == 'default' && '1.26' || inputs.go-version }} # never set patch, to get latest patch releases. - cache-dependency-path: $${{ inputs.disable-cache && '' || 'sdks/go.sum' }} + cache-dependency-path: sdks/go.sum From e20963a7dbe757b2aaeea18c7617c4677bd3f0ce Mon Sep 17 00:00:00 2001 From: bvolpato Date: Fri, 30 Oct 2026 12:14:31 -0400 Subject: [PATCH 2/2] [CI] Honor the Go cache opt-out --- .github/actions/setup-environment-action/action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/actions/setup-environment-action/action.yml b/.github/actions/setup-environment-action/action.yml index da3bf580bd71..f5afcb6e75c8 100644 --- a/.github/actions/setup-environment-action/action.yml +++ b/.github/actions/setup-environment-action/action.yml @@ -32,7 +32,7 @@ inputs: default: '' disable-cache: required: false - description: 'Whether to disable the gradle cache' + description: 'Whether to disable the Gradle and Go caches' default: false python-cache: required: false @@ -104,4 +104,5 @@ runs: uses: actions/setup-go@v6 with: go-version: ${{ inputs.go-version == 'default' && '1.26' || inputs.go-version }} # never set patch, to get latest patch releases. + cache: ${{ inputs.disable-cache != 'true' }} cache-dependency-path: sdks/go.sum