-
Notifications
You must be signed in to change notification settings - Fork 403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error 'must match format 1.23' while mock generation in docker #713
Comments
This likely isn't a |
@LandonTClipp It's issue
|
Apologies, you are right. It seems the Dockerfile is pulling in go 1.20 but your go.mod requires at least 1.21.1. Should be as simple as updating the Dockerfile if you want to send in a PR for that. |
@evsamsonov did the new update fix your problem? |
Yes, thanks |
Description
Error
invalid go version '1.21.0': must match format 1.23
while mock generation in dockerMockery Version
v2.34.0
Golang Version
Go 1.21
Installation Method
Steps to Reproduce
go mod init test.com
test.go
with interfacedocker run --rm vektra/mockery --name Test --inpackage --case snake
Expected Behavior
Successful mock generation
Actual Behavior
The text was updated successfully, but these errors were encountered: