.github/workflows: set CMD_GO_USE_GIT_HASH=true for our cmd/go

Updates tailscale/go#150
Updates tailscale/corp#28679

Change-Id: Ieb4780f157451f5c6660c96c6efaec9ddcfcb415
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2026-01-28 17:04:50 -08:00
committed by Brad Fitzpatrick
parent 6f55309f34
commit 2d2d5e6cc7
2 changed files with 2 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ env:
# toplevel directories "src" (for the checked out source code), and "gomodcache"
# and other caches as siblings to follow.
GOMODCACHE: ${{ github.workspace }}/gomodcache
CMD_GO_USE_GIT_HASH: "true"
on:
push:

View File

@@ -6,6 +6,7 @@ env:
# toplevel directories "src" (for the checked out source code), and "gomodcache"
# and other caches as siblings to follow.
GOMODCACHE: ${{ github.workspace }}/gomodcache
CMD_GO_USE_GIT_HASH: "true"
on:
push: