Skip to content

Go: de-bazel checks in test action - #22372

Draft
redsun82 wants to merge 1 commit into
mainfrom
redsun82-go-checks-debazel
Draft

Go: de-bazel checks in test action#22372
redsun82 wants to merge 1 commit into
mainfrom
redsun82-go-checks-debazel

Conversation

@redsun82

Copy link
Copy Markdown
Contributor

Why

The generated-code drift check and the gofmt formatting check are moving to a companion CI job that can piggyback on that pipeline's bazel cache. To avoid running them in two places, we drop those two checks here and keep a lightweight, non-bazel go build sanity check so this repo still verifies the Go extractor compiles with the standard toolchain.

Changes to go/actions/test/action.yml

  • Remove the generated-code drift check (bazel run go:gen + git diff).
  • Remove the gofmt check (cd go && make check-formatting).
  • Replace the bazel build (bazel run go:go-installer) with a plain cd go/extractor && go build ./....
  • Keep the qhelp-to-markdown compile + upload steps unchanged.

Note

This depends on the companion change landing first. Merging this before that lands would leave a short window where neither side runs the codegen + gofmt checks.

The codegen drift and gofmt checks move to `semmle-code`, so drop them
here to avoid duplication and replace the bazel build with a plain
`go build ./...` sanity check. Keep the qhelp-to-markdown steps.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot added the Go label Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants