From e4955bf75490f2a11500fea2fcd9cfdf3e80122c Mon Sep 17 00:00:00 2001 From: Piotr Kazmierczak <470696+pkazmierczak@users.noreply.github.com> Date: Tue, 23 Sep 2025 17:51:40 +0200 Subject: [PATCH 1/2] build(deps: set go.mod to 1.24 and retract v2.1.4 --- .github/workflows/test.yaml | 2 +- .go-version | 2 +- go.mod | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index a1292799..6139409b 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -49,7 +49,7 @@ jobs: - run: go test -v ./codec - run: go test -tags codecgen.exec -v ./codec - name: Generate coverage report - run: go env -w GOTOOLCHAIN=go1.25.1+auto && go test -v -coverprofile=coverage.out ./... + run: go test -v -coverprofile=coverage.out ./... - name: Upload coverage report uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 with: diff --git a/.go-version b/.go-version index d905a6d1..53cc1a6f 100644 --- a/.go-version +++ b/.go-version @@ -1 +1 @@ -1.25.1 +1.24.0 diff --git a/go.mod b/go.mod index bd983e2d..b1a974e1 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,8 @@ module github.com/hashicorp/go-msgpack/v2 -go 1.25.1 +go 1.24.0 + +retract v2.1.4 // Contains unnecessarily high go 1.25.1 build requirement require ( github.com/Sereal/Sereal/Go/sereal v0.0.0-20231009093132-b9187f1a92c6 From 5412457426dc9a9da83a616837380746a24aae4e Mon Sep 17 00:00:00 2001 From: Piotr Kazmierczak <470696+pkazmierczak@users.noreply.github.com> Date: Wed, 24 Sep 2025 09:48:24 +0200 Subject: [PATCH 2/2] set toolchain to 1.24.7 --- .go-version | 2 +- go.mod | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.go-version b/.go-version index 53cc1a6f..8407e260 100644 --- a/.go-version +++ b/.go-version @@ -1 +1 @@ -1.24.0 +1.24.7 diff --git a/go.mod b/go.mod index b1a974e1..7cca42d5 100644 --- a/go.mod +++ b/go.mod @@ -2,6 +2,8 @@ module github.com/hashicorp/go-msgpack/v2 go 1.24.0 +toolchain go1.24.7 + retract v2.1.4 // Contains unnecessarily high go 1.25.1 build requirement require (