Skip to content

Commit 22610ea

Browse files
committed
Downgrade mockery to 2.x, rerun, and add to Makefile
1 parent 2bbebdf commit 22610ea

File tree

4 files changed

+166
-68
lines changed

4 files changed

+166
-68
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ generate: ${GO_SOURCES} ## Generate code
289289
ifdef EXPERIMENTAL
290290
controller-gen object:headerFile="hack/boilerplate.go.txt" paths="./internal/nextapi/v1/..."
291291
endif
292+
mockery
292293
$(MAKE) fmt
293294

294295
.PHONY: check-missing-files

devbox.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
2424
2525
"awscli2@latest",
26-
"go-mockery@latest",
26+
"go-mockery@2",
2727
"docker-sbom@latest",
2828
"openshift@latest",
2929
"gci@latest"

devbox.lock

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -529,51 +529,51 @@
529529
"last_modified": "2025-07-25T08:26:56Z",
530530
"resolved": "github:NixOS/nixpkgs/6027c30c8e9810896b92429f0092f624f7b1aace?lastModified=1753432016&narHash=sha256-cnL5WWn%2FxkZoyH%2F03NNUS7QgW5vI7D1i74g48qplCvg%3D"
531531
},
532-
"go-mockery@latest": {
533-
"last_modified": "2025-07-18T03:30:42Z",
534-
"resolved": "github:NixOS/nixpkgs/e821e03193486359aa942372be2d9c1f377b7a18#go-mockery",
532+
"go-mockery@2": {
533+
"last_modified": "2025-07-13T22:45:35Z",
534+
"resolved": "github:NixOS/nixpkgs/a421ac6595024edcfbb1ef950a3712b89161c359#go-mockery",
535535
"source": "devbox-search",
536-
"version": "3.5.1",
536+
"version": "2.53.3",
537537
"systems": {
538538
"aarch64-darwin": {
539539
"outputs": [
540540
{
541541
"name": "out",
542-
"path": "/nix/store/dpmkxa2brjdlx3fxr7cbx17kngjdcgl5-go-mockery-3.5.1",
542+
"path": "/nix/store/gymm44dbi3sp824ghj28z7xdp5y0z8ij-go-mockery-2.53.3",
543543
"default": true
544544
}
545545
],
546-
"store_path": "/nix/store/dpmkxa2brjdlx3fxr7cbx17kngjdcgl5-go-mockery-3.5.1"
546+
"store_path": "/nix/store/gymm44dbi3sp824ghj28z7xdp5y0z8ij-go-mockery-2.53.3"
547547
},
548548
"aarch64-linux": {
549549
"outputs": [
550550
{
551551
"name": "out",
552-
"path": "/nix/store/wkcjxschqyb455c3d3l2sfvn21xfx0c4-go-mockery-3.5.1",
552+
"path": "/nix/store/7almddm7x5spkllll4avz0fd19slcvvj-go-mockery-2.53.3",
553553
"default": true
554554
}
555555
],
556-
"store_path": "/nix/store/wkcjxschqyb455c3d3l2sfvn21xfx0c4-go-mockery-3.5.1"
556+
"store_path": "/nix/store/7almddm7x5spkllll4avz0fd19slcvvj-go-mockery-2.53.3"
557557
},
558558
"x86_64-darwin": {
559559
"outputs": [
560560
{
561561
"name": "out",
562-
"path": "/nix/store/3rylkp14wbg3zjdwzr3x0crkm0lasr6a-go-mockery-3.5.1",
562+
"path": "/nix/store/xxd8ynzjqi4v0jahgzs9k45mj0ymcsns-go-mockery-2.53.3",
563563
"default": true
564564
}
565565
],
566-
"store_path": "/nix/store/3rylkp14wbg3zjdwzr3x0crkm0lasr6a-go-mockery-3.5.1"
566+
"store_path": "/nix/store/xxd8ynzjqi4v0jahgzs9k45mj0ymcsns-go-mockery-2.53.3"
567567
},
568568
"x86_64-linux": {
569569
"outputs": [
570570
{
571571
"name": "out",
572-
"path": "/nix/store/j6hl8p4v53i4zrvag0ka805kc4irnybc-go-mockery-3.5.1",
572+
"path": "/nix/store/p7cdcd71qnf8k6h1fyrsx42a768w02c2-go-mockery-2.53.3",
573573
"default": true
574574
}
575575
],
576-
"store_path": "/nix/store/j6hl8p4v53i4zrvag0ka805kc4irnybc-go-mockery-3.5.1"
576+
"store_path": "/nix/store/p7cdcd71qnf8k6h1fyrsx42a768w02c2-go-mockery-2.53.3"
577577
}
578578
}
579579
},

internal/mocks/translation/deployment.go

Lines changed: 152 additions & 55 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)