fix: correct setup-go hash pin, pin Go to exact patch, add -race flag

Greptile P2: use exact Go version 1.25.5 matching go.mod instead of
minor-version alias 1.25; add -race flag to catch data races in CI.

zizmor: fix setup-go hash pin to the actual v5.5.0 commit.
This commit is contained in:
23241a6749
2026-06-19 05:56:12 +00:00
parent 22a21e8f2f
commit 64ed8aaf29
+3 -3
View File
@@ -39,11 +39,11 @@ jobs:
persist-credentials: false
- name: Set up Go
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.5.0
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version: "1.25"
go-version: "1.25.5"
cache-dependency-path: mcp/go.sum
- name: Run MCP Go tests
run: go test ./...
run: go test -race ./...
working-directory: mcp