Skip to content

Commit 60665ea

Browse files
authored
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.
1 parent 2bdc6fc commit 60665ea

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- run: go test -v ./codec
5050
- run: go test -tags codecgen.exec -v ./codec
5151
- name: Generate coverage report
52-
run: go env -w GOTOOLCHAIN=go1.25.1+auto && go test -v -coverprofile=coverage.out ./...
52+
run: go test -v -coverprofile=coverage.out ./...
5353
- name: Upload coverage report
5454
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808
5555
with:

.go-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.25.1
1+
1.24.7

go.mod

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
module github.com/hashicorp/go-msgpack/v2
22

3-
go 1.25.1
3+
go 1.24.0
4+
5+
toolchain go1.24.7
6+
7+
retract v2.1.4 // Contains unnecessarily high go 1.25.1 build requirement
48

59
require (
610
github.com/Sereal/Sereal/Go/sereal v0.0.0-20231009093132-b9187f1a92c6

0 commit comments

Comments
 (0)