cirruslabs / macos-image-templates

MIT License
207 stars 56 forks source link

Ruby update 3.3.2 broke our workflow #158

Closed markusfassbender closed 3 months ago

markusfassbender commented 3 months ago

Hello,

we have in our project Wire a ruby version 3.3.1 specified and we use your image like: runs-on: ghcr.io/cirruslabs/macos-runner:sonoma

The last update (on Sunday night?) broke all our workflows and stopped teams from being able to continue to work with the error:

rbenv: version `3.3.1' is not installed (set by /*****/wire-ios/.ruby-version)

Is there any chance how to avoid these behaviour from your side? E.g. could you provide checksums of your images that we can pin to and update only if we want to? Or support multiple ruby versions to have some time to migrate manually?

fkorotkov commented 3 months ago

Hey @markusfassbender, sorry to hear that?

We right now path two latests minor version of Ruby 3 and Ruby 2.7.8. Seems you build failed when 3.3.1 patch version was bumped to 3.3.2. Have you considered using ruby/setup-ruby action? It only takes a second or two to install but you have full control over the version. BTW it can read from .ruby-version so only one place to bump the vesion.

markusfassbender commented 3 months ago

Thanks for pointing to that, I didn't know this action. Will try it and later update this issue :)

markusfassbender commented 3 months ago

Thanks for your help, it works well!