Skip to content

Commit 252f27c

Browse files
authored
Support go 1.24 and upgrade dependencies (#915)
* Support go 1.24 * Update all dependencies * bump debug version
1 parent c644c45 commit 252f27c

File tree

7 files changed

+340
-32
lines changed

7 files changed

+340
-32
lines changed

.github/workflows/reusable-testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
os: ["macos-latest", "ubuntu-latest"]
17-
go_vers: ["1.22", "1.23"]
17+
go_vers: ["1.23", "1.24"]
1818
steps:
1919
- uses: actions/checkout@v2
2020
with:

go.mod

Lines changed: 32 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,53 @@
11
module github.com/vektra/mockery/v2
22

3-
go 1.23
3+
go 1.24
44

5-
toolchain go1.23.1
5+
toolchain go1.24.0
66

77
require (
88
github.com/chigopher/pathlib v0.19.1
9-
github.com/davecgh/go-spew v1.1.1
9+
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc
1010
github.com/huandu/xstrings v1.4.0
11-
github.com/iancoleman/strcase v0.2.0
12-
github.com/jinzhu/copier v0.3.5
11+
github.com/iancoleman/strcase v0.3.0
12+
github.com/jinzhu/copier v0.4.0
1313
github.com/mitchellh/go-homedir v1.1.0
1414
github.com/mitchellh/mapstructure v1.5.0
1515
github.com/rs/zerolog v1.33.0
16-
github.com/spf13/cobra v1.6.1
17-
github.com/spf13/viper v1.15.0
18-
github.com/stretchr/testify v1.8.2
19-
golang.org/x/term v0.5.0
20-
golang.org/x/tools v0.17.0
16+
github.com/spf13/cobra v1.8.1
17+
github.com/spf13/viper v1.19.0
18+
github.com/stretchr/testify v1.10.0
19+
golang.org/x/term v0.29.0
20+
golang.org/x/tools v0.30.0
2121
gopkg.in/yaml.v3 v3.0.1
2222
)
2323

2424
require (
25-
github.com/frankban/quicktest v1.14.4 // indirect
26-
github.com/fsnotify/fsnotify v1.6.0 // indirect
25+
github.com/frankban/quicktest v1.14.6 // indirect
26+
github.com/fsnotify/fsnotify v1.8.0 // indirect
2727
github.com/hashicorp/hcl v1.0.0 // indirect
2828
github.com/inconshreveable/mousetrap v1.1.0 // indirect
29-
github.com/magiconair/properties v1.8.7 // indirect
30-
github.com/mattn/go-colorable v0.1.13 // indirect
31-
github.com/mattn/go-isatty v0.0.19 // indirect
29+
github.com/magiconair/properties v1.8.9 // indirect
30+
github.com/mattn/go-colorable v0.1.14 // indirect
31+
github.com/mattn/go-isatty v0.0.20 // indirect
3232
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
33-
github.com/pelletier/go-toml/v2 v2.0.6 // indirect
34-
github.com/pmezard/go-difflib v1.0.0 // indirect
35-
github.com/spf13/afero v1.9.3 // indirect
36-
github.com/spf13/cast v1.5.0 // indirect
33+
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
34+
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
35+
github.com/sagikazarmark/locafero v0.7.0 // indirect
36+
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
37+
github.com/sourcegraph/conc v0.3.0 // indirect
38+
github.com/spf13/afero v1.12.0 // indirect
39+
github.com/spf13/cast v1.7.1 // indirect
3740
github.com/spf13/jwalterweatherman v1.1.0 // indirect
38-
github.com/spf13/pflag v1.0.5 // indirect
39-
github.com/stretchr/objx v0.5.0 // indirect
40-
github.com/subosito/gotenv v1.4.2 // indirect
41-
golang.org/x/mod v0.14.0 // indirect
42-
golang.org/x/sys v0.12.0 // indirect
43-
golang.org/x/text v0.7.0 // indirect
41+
github.com/spf13/pflag v1.0.6 // indirect
42+
github.com/stretchr/objx v0.5.2 // indirect
43+
github.com/subosito/gotenv v1.6.0 // indirect
44+
go.uber.org/atomic v1.11.0 // indirect
45+
go.uber.org/multierr v1.11.0 // indirect
46+
golang.org/x/exp v0.0.0-20250210185358-939b2ce775ac // indirect
47+
golang.org/x/mod v0.23.0 // indirect
48+
golang.org/x/sync v0.11.0 // indirect
49+
golang.org/x/sys v0.30.0 // indirect
50+
golang.org/x/text v0.22.0 // indirect
4451
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect
4552
gopkg.in/ini.v1 v1.67.0 // indirect
4653
)

go.sum

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

go.work

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
go 1.23.1
1+
go 1.24.0
22

3-
toolchain go1.23.1
3+
toolchain go1.24.0
44

55
use (
66
.

go.work.sum

Lines changed: 241 additions & 2 deletions
Large diffs are not rendered by default.

mockery-tools.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION=v2.52.1
1+
VERSION=v2.52.2

tools/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/vektra/mockery/tools
22

3-
go 1.23.1
3+
go 1.24.0
44

55
require (
66
github.com/go-errors/errors v1.5.1

0 commit comments

Comments
 (0)