Skip to content

Commit 731d80b

Browse files
Bump github.com/stretchr/testify from 1.9.0 to 1.10.0 (#144)
* Bump github.com/stretchr/testify from 1.9.0 to 1.10.0 Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.9.0 to 1.10.0. - [Release notes](https://github.com/stretchr/testify/releases) - [Commits](stretchr/testify@v1.9.0...v1.10.0) --- updated-dependencies: - dependency-name: github.com/stretchr/testify dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * deps(golangci-lint): Update to v2 Signed-off-by: Dave Henderson <dhenderson@gmail.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Dave Henderson <dhenderson@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dave Henderson <dhenderson@gmail.com>
1 parent 9a301cb commit 731d80b

File tree

4 files changed

+49
-29
lines changed

4 files changed

+49
-29
lines changed

.golangci.yml

Lines changed: 44 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,7 @@
1-
linters-settings:
2-
govet:
3-
enable-all: true
4-
gocyclo:
5-
min-complexity: 10
6-
dupl:
7-
threshold: 100
8-
goconst:
9-
min-len: 2
10-
min-occurrences: 4
11-
lll:
12-
line-length: 140
13-
nolintlint:
14-
allow-unused: false # report any unused nolint directives
15-
require-explanation: false # don't require an explanation for nolint directives
16-
require-specific: false # don't require nolint directives to be specific about which linter is being skipped
1+
version: "2"
172

183
linters:
19-
disable-all: true
4+
default: none
205
enable:
216
- asciicheck
227
- bodyclose
@@ -26,22 +11,17 @@ linters:
2611
- errcheck
2712
- exhaustive
2813
- funlen
29-
- gci
3014
- gochecknoglobals
3115
- gochecknoinits
3216
- gocognit
3317
- goconst
3418
- gocritic
3519
- gocyclo
3620
- godox
37-
- gofmt
38-
- gofumpt
3921
- goheader
40-
- goimports
4122
- gomodguard
4223
- goprintffuncname
4324
- gosec
44-
- gosimple
4525
- govet
4626
- ineffassign
4727
- lll
@@ -57,10 +37,50 @@ linters:
5737
- rowserrcheck
5838
- sqlclosecheck
5939
- staticcheck
60-
- stylecheck
61-
- typecheck
6240
- unconvert
6341
- unparam
6442
- unused
6543
- whitespace
6644
- wsl
45+
46+
settings:
47+
dupl:
48+
threshold: 100
49+
goconst:
50+
min-len: 2
51+
min-occurrences: 4
52+
gocyclo:
53+
min-complexity: 10
54+
govet:
55+
enable-all: true
56+
lll:
57+
line-length: 140
58+
nolintlint:
59+
require-explanation: false
60+
require-specific: false
61+
allow-unused: false
62+
63+
exclusions:
64+
generated: lax
65+
presets:
66+
- comments
67+
- common-false-positives
68+
- legacy
69+
- std-error-handling
70+
paths:
71+
- third_party$
72+
- builtin$
73+
- examples$
74+
75+
formatters:
76+
enable:
77+
- gci
78+
- gofmt
79+
- gofumpt
80+
- goimports
81+
exclusions:
82+
generated: lax
83+
paths:
84+
- third_party$
85+
- builtin$
86+
- examples$

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,10 @@ gen-changelog:
114114
github_changelog_generator --no-filter-by-milestone --exclude-labels duplicate,question,invalid,wontfix,admin
115115

116116
lint:
117-
@golangci-lint run --verbose --max-same-issues=0 --max-issues-per-linter=0 --sort-results
117+
@golangci-lint run --verbose --max-same-issues=0 --max-issues-per-linter=0
118118

119119
ci-lint:
120-
@golangci-lint run --verbose --max-same-issues=0 --max-issues-per-linter=0 --sort-results --out-format=github-actions
120+
@golangci-lint run --verbose --max-same-issues=0 --max-issues-per-linter=0
121121

122122
.PHONY: gen-changelog clean test build-x compress-all build-release build test-integration-docker gen-docs lint clean-images clean-containers docker-images
123123
.DELETE_ON_ERROR:

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module github.com/hairyhenderson/go-which
22

33
go 1.23
44

5-
require github.com/stretchr/testify v1.9.0
5+
require github.com/stretchr/testify v1.10.0
66

77
require (
88
github.com/davecgh/go-spew v1.1.1 // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c
22
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
33
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
44
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
5-
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
6-
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
5+
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
6+
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
77
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
88
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
99
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=

0 commit comments

Comments
 (0)