Skip to content

fix(codeql): provision Go toolchain - #82

Merged
rldyourmnd merged 1 commit into
mainfrom
fix/codeql-go-toolchain
Aug 9, 2026
Merged

fix(codeql): provision Go toolchain#82
rldyourmnd merged 1 commit into
mainfrom
fix/codeql-go-toolchain

Conversation

@rldyourmnd

Copy link
Copy Markdown
Contributor

What changed

  • conditionally provisions the digest-pinned Go toolchain for the Go CodeQL matrix entry
  • resolves the version from the checked-out go.mod
  • disables setup-go cache writes on persistent runners
  • records the action consumer in the canonical tool catalog

Why

The reusable CodeQL workflow assumed go existed in the ambient runner PATH. GDS PR #95 proved that this is false on the configured persistent runner, causing extraction to fail before analysis.

Permissions and threat model

No permissions changed. The new step runs only for the go language and uses the existing digest-pinned actions/setup-go action. Repository code remains unprivileged and checkout credentials remain disabled.

Validation

  • python3 scripts/validate_all.py
  • actionlint
  • uvx zizmor --persona regular --min-severity low .github/workflows
  • git diff --check

Signed-off-by: Danil Silantyev <danilsilantyevwork@gmail.com>
@rldyourmnd
rldyourmnd merged commit 3aadc36 into main Aug 9, 2026
11 checks passed
@rldyourmnd
rldyourmnd deleted the fix/codeql-go-toolchain branch August 9, 2026 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant