From 81c6d6e4ff97b527ffeca5dbd6c325e9c1b713c8 Mon Sep 17 00:00:00 2001 From: Gary Hansen Date: Mon, 8 Jun 2026 09:10:36 +1000 Subject: [PATCH] fix: downgrade go directive to 1.24 and pin GOTOOLCHAIN=local go.mod specified go 1.25.6 which triggered automatic toolchain download via Go's toolchain management. Go 1.25 removed the covdata tool, causing the CI test step to fail with 'go: no such tool covdata'. Changes: - go.mod: downgrade 'go 1.25.6' to 'go 1.24' to match CI setup-go version - ci.yml: add GOTOOLCHAIN=local env at job level to prevent auto-download of newer toolchain versions Fixes CI failure on main branch. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: multica-agent --- .gitea/workflows/ci.yml | 2 ++ go.mod | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index a3adba8..38abbe8 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -9,6 +9,8 @@ on: jobs: test: runs-on: ubuntu-latest + env: + GOTOOLCHAIN: local steps: - uses: actions/checkout@v4 diff --git a/go.mod b/go.mod index 04916b9..a7a3d44 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/hits/ExploreDNS -go 1.25.6 +go 1.24.0 require ( github.com/miekg/dns v1.1.72