This is an automated email from the ASF dual-hosted git repository.

derrickaw pushed a commit to branch 20261022_fixCodeqlGo
in repository https://gitbox.apache.org/repos/asf/beam.git

commit 198abd406b70cd9e5109301fad1fb39ee2a864c7
Author: Derrick Williams <[email protected]>
AuthorDate: Thu Oct 22 20:29:36 2026 +0000

    [go] - update codeql go workflow
---
 .github/workflows/codeql.yml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 804f38d0992..92042016640 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -145,6 +145,11 @@ jobs:
       uses: actions/setup-go@v7
       with:
         go-version-file: 'sdks/go.mod'
+        cache-dependency-path: |
+          sdks/go.sum
+          playground/backend/go.sum
+          learning/katas/go/go.sum
+          learning/tour-of-beam/backend/go.sum
 
     # Add any setup steps before running the `github/codeql-action/init` 
action.
     # This includes steps like installing compilers or runtimes 
(`actions/setup-node`
@@ -174,6 +179,9 @@ jobs:
     - name: Run manual build steps
       if: matrix.build-mode == 'manual'
       shell: bash
+      env:
+        GOTMPDIR: ${{ runner.temp }}
+        TMPDIR: ${{ runner.temp }}
       run: |
         if [ "${{ matrix.language }}" = "go" ]; then
           echo "Building sdks module..."

Reply via email to