From 50b146b833c5fc68ac3174e836197dc63b1cd27e Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Fri, 21 Aug 2026 13:22:26 +0300 Subject: [PATCH 1/3] go.mod: update to Go 1.26, use 1.26/1.27 combination for tests Signed-off-by: Roman Khimov --- .github/workflows/go.yml | 10 +++++----- go.mod | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index bbdb63e..45fc86d 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -19,16 +19,16 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - go: [ '1.25', '1.26' ] + go: [ '1.26', '1.27' ] exclude: # Only latest Go version for Windows and MacOS. - os: windows-latest - go: '1.25' + go: '1.26' - os: macos-latest - go: '1.25' + go: '1.26' # Exclude latest Go version for Ubuntu as Coverage uses it. - os: ubuntu-latest - go: '1.26' + go: '1.27' fail-fast: false steps: - name: Setup go @@ -58,7 +58,7 @@ jobs: uses: actions/setup-go@v7 with: cache: true - go-version: 1.26 + go-version: 1.27 - name: Test and write coverage profile run: go test -coverprofile=coverage.txt -covermode=atomic ./... diff --git a/go.mod b/go.mod index 75a0671..8bcd984 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/nspcc-dev/hrw/v2 -go 1.25.0 +go 1.26 require ( github.com/stretchr/testify v1.11.1 From a5e746170108af9d67d36626240768d5a2c5128c Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Fri, 21 Aug 2026 13:23:35 +0300 Subject: [PATCH 2/3] go.mod: update github.com/stretchr/testify from v1.11.1 to v1.12.1 Signed-off-by: Roman Khimov --- go.mod | 8 ++------ go.sum | 14 ++++---------- 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/go.mod b/go.mod index 8bcd984..5db5572 100644 --- a/go.mod +++ b/go.mod @@ -3,13 +3,9 @@ module github.com/nspcc-dev/hrw/v2 go 1.26 require ( - github.com/stretchr/testify v1.11.1 + github.com/stretchr/testify v1.12.1 github.com/twmb/murmur3 v1.1.8 golang.org/x/exp v0.0.0-20250819193227-8b4c13bb791b ) -require ( - github.com/davecgh/go-spew v1.1.1 // indirect - github.com/pmezard/go-difflib v1.0.0 // indirect - gopkg.in/yaml.v3 v3.0.1 // indirect -) +require go.yaml.in/yaml/v3 v3.0.5 // indirect diff --git a/go.sum b/go.sum index fda25ed..32e2ee1 100644 --- a/go.sum +++ b/go.sum @@ -1,14 +1,8 @@ -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= -github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= +github.com/stretchr/testify v1.12.1 h1:EuwCh5fleGS7H32xRwO3wRGT7DxrDhLAT6FF8MpWDWE= +github.com/stretchr/testify v1.12.1/go.mod h1:MDEgiDPPsNp5cuIrHPPCyornHKgEVbtFUmoNlxoYthg= github.com/twmb/murmur3 v1.1.8 h1:8Yt9taO/WN3l08xErzjeschgZU2QSrwm1kclYq+0aRg= github.com/twmb/murmur3 v1.1.8/go.mod h1:Qq/R7NUyOfr65zD+6Q5IHKsJLwP7exErjN6lyyq3OSQ= +go.yaml.in/yaml/v3 v3.0.5 h1:N6y/pJk8buWs9NY5ERU2HSMfm+IuD/OtfdAnq6kESPw= +go.yaml.in/yaml/v3 v3.0.5/go.mod h1:HVTZu1O7/Vkt2N+BFy8Zza+lnLsABggaTM2ZpNIGuKg= golang.org/x/exp v0.0.0-20250819193227-8b4c13bb791b h1:DXr+pvt3nC887026GRP39Ej11UATqWDmWuS99x26cD0= golang.org/x/exp v0.0.0-20250819193227-8b4c13bb791b/go.mod h1:4QTo5u+SEIbbKW1RacMZq1YEfOBqeXa19JeshGi+zc4= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= -gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= From f52053b1c1f93d6736f5eb38cb727b12fccbee2b Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Fri, 21 Aug 2026 13:24:36 +0300 Subject: [PATCH 3/3] go.mod: update golang.org/x/exp From v0.0.0-20250819193227-8b4c13bb791b to v0.0.0-20260820142414-ca536658362e. Signed-off-by: Roman Khimov --- go.mod | 4 ++-- go.sum | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index 5db5572..b1c42d9 100644 --- a/go.mod +++ b/go.mod @@ -1,11 +1,11 @@ module github.com/nspcc-dev/hrw/v2 -go 1.26 +go 1.26.0 require ( github.com/stretchr/testify v1.12.1 github.com/twmb/murmur3 v1.1.8 - golang.org/x/exp v0.0.0-20250819193227-8b4c13bb791b + golang.org/x/exp v0.0.0-20260820142414-ca536658362e ) require go.yaml.in/yaml/v3 v3.0.5 // indirect diff --git a/go.sum b/go.sum index 32e2ee1..6b48690 100644 --- a/go.sum +++ b/go.sum @@ -4,5 +4,5 @@ github.com/twmb/murmur3 v1.1.8 h1:8Yt9taO/WN3l08xErzjeschgZU2QSrwm1kclYq+0aRg= github.com/twmb/murmur3 v1.1.8/go.mod h1:Qq/R7NUyOfr65zD+6Q5IHKsJLwP7exErjN6lyyq3OSQ= go.yaml.in/yaml/v3 v3.0.5 h1:N6y/pJk8buWs9NY5ERU2HSMfm+IuD/OtfdAnq6kESPw= go.yaml.in/yaml/v3 v3.0.5/go.mod h1:HVTZu1O7/Vkt2N+BFy8Zza+lnLsABggaTM2ZpNIGuKg= -golang.org/x/exp v0.0.0-20250819193227-8b4c13bb791b h1:DXr+pvt3nC887026GRP39Ej11UATqWDmWuS99x26cD0= -golang.org/x/exp v0.0.0-20250819193227-8b4c13bb791b/go.mod h1:4QTo5u+SEIbbKW1RacMZq1YEfOBqeXa19JeshGi+zc4= +golang.org/x/exp v0.0.0-20260820142414-ca536658362e h1:01Ju2A/fZKkci4zqx0eZxw//DnRYOnBiGJG14hFBhO8= +golang.org/x/exp v0.0.0-20260820142414-ca536658362e/go.mod h1:zeBbvyFKDaLwa7CH/zI8KXt7gTl14SF7sO08Pl5jBCM=