Skip to content
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

[chore] [cmd/builder] pin ocb go.mod template to 1.22.0 #11845

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jackgopack4
Copy link
Contributor

Description

pins go.mod in ocb template to 1.22.0 to match latest Golang standard (golang/go#62278)

Link to tracking issue

Fixes #11844

Testing

pipeline tests should suffice

Documentation

none, bugfix

@jackgopack4 jackgopack4 changed the title pin ocb go.mod template to 1.22.0 [chore] [cmd/builder] pin ocb go.mod template to 1.22.0 Dec 10, 2024
Copy link

codecov bot commented Dec 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.58%. Comparing base (28d93fa) to head (8634534).

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #11845   +/-   ##
=======================================
  Coverage   91.58%   91.58%           
=======================================
  Files         446      446           
  Lines       23743    23743           
=======================================
  Hits        21745    21745           
  Misses       1623     1623           
  Partials      375      375           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dmitryax
Copy link
Member

@jackgopack4 thanks!

This should also fix an issue when CI starts failing once a new patch version of go is released:

@dmitryax
Copy link
Member

Please rebase so we can merge this

@jackgopack4
Copy link
Contributor Author

I'm not sure this is the best way to fix it; it would require anyone running OCB to use go 1.22.0; apparently (linked in the issue) 1.22 is actually a valid go.mod but it was something that was broken then fixed in a recent version of both 1.22 and 1.23. That's why I left this as a draft

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[cmd/builder] ocb fails on some environments due to go.mod issue
3 participants