-
Notifications
You must be signed in to change notification settings - Fork 449
Closed
Description
Hello!
I'm using mockery as a container for a project I recently updated to Go 1.24, and it seems that the Dockerfile was not updated to run in a Go 1.24 environment, making mockery fail to run in such projects:
$ docker run --rm -u $(id -u):$(id -g) -v $(pwd):/src -w /src vektra/mockery:v2.52.2
13 Feb 25 10:40 UTC INF Starting mockery dry-run=false version=v2.52.2
13 Feb 25 10:40 UTC INF Using config: /src/.mockery.yaml dry-run=false version=v2.52.2
failed to discover recursive packages: failed to get subpackages: failed to load packages: err: exit status 1: stderr: go: go.mod requires go >= 1.24.0 (running go 1.23.6; GOTOOLCHAIN=local)Would it make sense to also bumb the Go version used by the containerized version of mockery?
Thanks!
sineto
Metadata
Metadata
Assignees
Labels
No labels