From 60665ead73d6bfe3ef876446d5036172d00ca375 Mon Sep 17 00:00:00 2001 From: Piotr Kazmierczak <470696+pkazmierczak@users.noreply.github.com> Date: Wed, 24 Sep 2025 15:24:49 +0200 Subject: [PATCH] build(deps): set go.mod to 1.24 and retract v2.1.4 (#37) This PR sets Go mod version for the package to 1.24 and retracts package v2.1.4 which set an unnecessarily high requirement for Go to be 1.25.1. --- .github/workflows/test.yaml | 2 +- .go-version | 2 +- go.mod | 6 +++++- 3 files changed, 7 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..8407e260 100644 --- a/.go-version +++ b/.go-version @@ -1 +1 @@ -1.25.1 +1.24.7 diff --git a/go.mod b/go.mod index bd983e2d..7cca42d5 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,10 @@ module github.com/hashicorp/go-msgpack/v2 -go 1.25.1 +go 1.24.0 + +toolchain go1.24.7 + +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