microcks / microcks-go-client

Go client for accessing and using Microcks API
https://microcks.io
Apache License 2.0
5 stars 2 forks source link

Invalid go version '1.21.3': must match format 1.23 #3

Closed lbroudoux closed 1 year ago

lbroudoux commented 1 year ago

Describe the bug

Facing a Go version conflict when simply running make on this repo:

$ make
go run github.com/deepmap/oapi-codegen/cmd/oapi-codegen -config generate.yaml api/microcks-openapi-v1.8.yaml
go: errors parsing go.mod:
/Users/laurent/Development/github/microcks-go-client/go.mod:3: invalid go version '1.21.3': must match format 1.23
make: *** [generate-client] Error 1

Expected behavior

I expected to be able to generate something...

Actual behavior

Fails. Nothing got generated.

Here's the output of my go version:

$ go version
go version go1.20.6 darwin/arm64

How to Reproduce?

  1. Git clone the repository on main branch
  2. Execute make

Microcks version or git rev

main

Install method (docker-compose, helm chart, operator, docker-desktop extension,...)

NA

Additional information

No response

lbroudoux commented 1 year ago

Upgraded go on my machine using:

brew install go@1.21.3

Now got the following version and output:

$ go version
go version go1.21.3 darwin/arm64

And make no longer fails!