From 351b082562ca3f21a56952348a07da6a43e3c85e Mon Sep 17 00:00:00 2001 From: William Storey Date: Tue, 26 May 2026 08:33:04 -0700 Subject: [PATCH] Update minimum Go version to 1.25 Bump the go directive in go.mod, switch the CI matrix to test 1.25.x and 1.26.x, and update the golangci-lint go target to match. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/go.yml | 2 +- .golangci.yml | 2 +- go.mod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index f566a56..1e2bad3 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -13,7 +13,7 @@ jobs: build: strategy: matrix: - go-version: [1.24.x, 1.25.x] + go-version: [1.25.x, 1.26.x] # We don't test on macOS and windows as the database builds aren't # repeatable there for some reason. As such, tests fail. It'd # probably be worth looking into this at some point. diff --git a/.golangci.yml b/.golangci.yml index adeabe7..1cad1d0 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -2,7 +2,7 @@ version: "2" run: # This is needed for precious, which may run multiple instances # in parallel - go: "1.24" + go: "1.25" tests: true allow-parallel-runners: true linters: diff --git a/go.mod b/go.mod index 8fb776d..63d877e 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/maxmind/MaxMind-DB -go 1.24.0 +go 1.25.0 require ( github.com/maxmind/mmdbwriter v1.2.0