Skip to content

Commit e6854e8

Browse files
build(deps): bump golang.org/x/text from 0.27.0 to 0.28.0 in the gomod group (#22)
* build(deps): bump golang.org/x/text in the gomod group Bumps the gomod group with 1 update: [golang.org/x/text](https://github.com/golang/text). Updates `golang.org/x/text` from 0.27.0 to 0.28.0 - [Release notes](https://github.com/golang/text/releases) - [Commits](golang/text@v0.27.0...v0.28.0) --- updated-dependencies: - dependency-name: golang.org/x/text dependency-version: 0.28.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: gomod ... Signed-off-by: dependabot[bot] <[email protected]> * build: update linter and fix new linting failures Signed-off-by: m-d-key <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: m-d-key <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: m-d-key <[email protected]>
1 parent 12e3ea2 commit e6854e8

File tree

7 files changed

+141
-10
lines changed

7 files changed

+141
-10
lines changed

.bingo/Variables.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ $(GIT_CHGLOG): $(BINGO_DIR)/git-chglog.mod
2323
@echo "(re)installing $(GOBIN)/git-chglog-v0.15.4"
2424
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=git-chglog.mod -o=$(GOBIN)/git-chglog-v0.15.4 "github.com/git-chglog/git-chglog/cmd/git-chglog"
2525

26-
GOLANGCI_LINT := $(GOBIN)/golangci-lint-v2.0.2
26+
GOLANGCI_LINT := $(GOBIN)/golangci-lint-v2.4.0
2727
$(GOLANGCI_LINT): $(BINGO_DIR)/golangci-lint.mod
2828
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
29-
@echo "(re)installing $(GOBIN)/golangci-lint-v2.0.2"
30-
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=golangci-lint.mod -o=$(GOBIN)/golangci-lint-v2.0.2 "github.com/golangci/golangci-lint/v2/cmd/golangci-lint"
29+
@echo "(re)installing $(GOBIN)/golangci-lint-v2.4.0"
30+
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=golangci-lint.mod -o=$(GOBIN)/golangci-lint-v2.4.0 "github.com/golangci/golangci-lint/v2/cmd/golangci-lint"
3131

3232
GOTAGGER := $(GOBIN)/gotagger-v0.9.1
3333
$(GOTAGGER): $(BINGO_DIR)/gotagger.mod

.bingo/golangci-lint.mod

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
22

3-
go 1.23.5
3+
go 1.24.0
44

5-
require github.com/golangci/golangci-lint/v2 v2.0.2 // cmd/golangci-lint
5+
toolchain go1.24.2
6+
7+
require github.com/golangci/golangci-lint/v2 v2.4.0 // cmd/golangci-lint

.bingo/golangci-lint.sum

Lines changed: 128 additions & 0 deletions
Large diffs are not rendered by default.

.bingo/variables.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ fi
1010

1111
GIT_CHGLOG="${GOBIN}/git-chglog-v0.15.4"
1212

13-
GOLANGCI_LINT="${GOBIN}/golangci-lint-v2.0.2"
13+
GOLANGCI_LINT="${GOBIN}/golangci-lint-v2.4.0"
1414

1515
GOTAGGER="${GOBIN}/gotagger-v0.9.1"
1616

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.23.0
55
require (
66
github.com/hashicorp/go-multierror v1.1.1
77
github.com/stretchr/testify v1.10.0
8-
golang.org/x/text v0.27.0
8+
golang.org/x/text v0.28.0
99
)
1010

1111
require (

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ github.com/rogpeppe/go-internal v1.13.1 h1:KvO1DLK/DRN07sQ1LQKScxyZJuNnedQ5/wKSR
2121
github.com/rogpeppe/go-internal v1.13.1/go.mod h1:uMEvuHeurkdAXX61udpOXGD/AzZDWNMNyH2VO9fmH0o=
2222
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
2323
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
24-
golang.org/x/text v0.27.0 h1:4fGWRpyh641NLlecmyl4LOe6yDdfaYNrGb2zdfo4JV4=
25-
golang.org/x/text v0.27.0/go.mod h1:1D28KMCvyooCX9hBiosv5Tz/+YLxj0j7XhWjpSUF7CU=
24+
golang.org/x/text v0.28.0 h1:rhazDwis8INMIwQ4tpjLDzUhx6RlXqZNPEM0huQojng=
25+
golang.org/x/text v0.28.0/go.mod h1:U8nCwOR8jO/marOQ0QbDiOngZVEBB7MAiitBuMjXiNU=
2626
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
2727
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
2828
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=

pkg/errors/errors_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
package errors_test
55

66
import (
7+
"context"
78
stderrors "errors"
89
"fmt"
910
"os/exec"
@@ -64,7 +65,7 @@ func Test_Panic(t *testing.T) {
6465
}
6566

6667
func Test_ProjectRoot(t *testing.T) {
67-
root, err := exec.Command("git", "rev-parse", "--show-toplevel").Output()
68+
root, err := exec.CommandContext(context.Background(), "git", "rev-parse", "--show-toplevel").Output()
6869
require.NoError(t, err)
6970
base := filepath.Base(string(root))
7071
base = strings.TrimSpace(base)

0 commit comments

Comments
 (0)