ci: use go-version-file to read version from go.mod (HAN-421)
CI / test (pull_request) Failing after 3h13m17s
CI / docker (pull_request) Has been cancelled

Switch from hardcoded go-version: '1.24.0' to go-version-file: go.mod
so the CI Go version always stays in sync with the module's go directive.

All tests pass locally with GOFLAGS=-mod=vendor GOTOOLCHAIN=local.
Re-triggering CI run after previous run 1504 timed out on toolchain download.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
Gary Hansen
2026-06-11 15:16:06 +10:00
co-authored by Copilot multica-agent
parent db806835aa
commit 50c6434622
+1 -1
View File
@@ -18,7 +18,7 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: '1.24.0'
go-version-file: go.mod
cache: false
- name: Vet