mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: update to Go 1.25.6 (#21693)
## Summary - Update Go version from 1.24.11 to 1.25.6 - Update go.mod to specify Go 1.25.6 - Update GitHub Actions setup-go default version - Update dogfood Dockerfile with new Go version and SHA256 checksum 🤖 Generated with [Claude Code](https://claude.com/claude-code) via [Coder Task](https://dev.coder.com/tasks/danny/42dcc0b6-17e1-4caf-bb44-8d6c8f346bef) --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.5
parent
c352a51b22
commit
3ee4f6d0ec
@@ -90,7 +90,11 @@ if [[ "${DEBUG_DELVE}" == 1 ]]; then
|
||||
# binary, so we can just build the debug binary here without having to worry
|
||||
# about/use the makefile.
|
||||
./scripts/build_go.sh "${build_flags[@]}"
|
||||
runcmd=(dlv exec --headless --continue --listen 127.0.0.1:12345 --accept-multiclient "$CODER_DELVE_DEBUG_BIN" --)
|
||||
# Use go run to ensure Delve is built with current Go version.
|
||||
# Go 1.25+ uses DWARFv5 which requires Delve built with Go 1.25+.
|
||||
# GOTOOLCHAIN is set to force building Delve with the current Go version.
|
||||
current_toolchain="go$(go env GOVERSION | sed 's/^go//')"
|
||||
runcmd=(env "GOTOOLCHAIN=${current_toolchain}" go run github.com/go-delve/delve/cmd/dlv@latest exec --headless --continue --listen 127.0.0.1:12345 --accept-multiclient "$CODER_DELVE_DEBUG_BIN" --)
|
||||
fi
|
||||
|
||||
exec "${runcmd[@]}" --global-config "${CODER_DEV_DIR}" "$@"
|
||||
|
||||
Reference in New Issue
Block a user