petergtz / pegomock

Pegomock is a powerful, yet simple mocking framework for the Go programming language
Apache License 2.0
252 stars 28 forks source link

ci: add go1.21 and go1.22 #127

Open chenrui333 opened 3 weeks ago

chenrui333 commented 3 weeks ago

seeing some CI run failure with go1.22, see https://github.com/chenrui333/pegomock/actions/runs/9524752621/job/26258033642

and bump ginkgo to latest release

petergtz commented 2 weeks ago

Hi @chenrui333, really appreciate this PR. Did you see that the checks failed?

Looks like there are two different issues: 1/ 1.18 and 1.19 failed, because the Go version required in Pegomock is lower than the one in Ginkgo. I'm fine with bumping the Go version in Pegomock. I guess keeping only 2 older releases is fine.

The other issue is in Go 1.22 and it's not as straight forward. Do you feel confident having a look at it and trying to resolve it?