We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 009f82b commit fabb55eCopy full SHA for fabb55e
.github/workflows/codeql.yml
@@ -46,8 +46,19 @@ jobs:
46
- name: Install Taskfile support
47
uses: arduino/setup-task@v2
48
49
- - shell: bash
50
- run: task build
+ - name: Build
+ shell: bash
51
+ env:
52
+ # Prevent Go toolchain re-exec which breaks CodeQL tracing.
53
+ # When GOTOOLCHAIN is not "local", Go may re-exec to a different
54
+ # toolchain version, bypassing CodeQL's instrumented go binary.
55
+ GOTOOLCHAIN: local
56
+ run: |
57
+ echo "CODEQL go: $CODEQL_ACTION_GO_BINARY"
58
+ echo "which go (before task): $(which go)"
59
+ go version
60
+ go env GOTOOLCHAIN GOROOT GOPATH
61
+ task build
62
63
- name: Perform CodeQL Analysis
64
uses: github/codeql-action/analyze@v4
0 commit comments