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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user