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

maint(ci): Upgrade to Go 1.22.0 #667

Closed
wants to merge 3 commits into from
Closed

maint(ci): Upgrade to Go 1.22.0 #667

wants to merge 3 commits into from

Conversation

CarlosNihelton
Copy link
Contributor

@CarlosNihelton CarlosNihelton commented Mar 6, 2024

Upgrade modules, workspace and package to Go 1.22.0 and remove loop closure variable redeclaration.

UDENG-2454

Since Go 1.22.0 for-loop variables are scoped per iteration
Closures created in for-loops are guaranteed to have distinct variables
Thus tests no longer need to do the sttutering copy `tc := tc`.
Copy link

codecov bot commented Mar 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.20%. Comparing base (21c35ad) to head (d3a3792).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #667      +/-   ##
==========================================
- Coverage   86.46%   85.20%   -1.27%     
==========================================
  Files          87       90       +3     
  Lines        5616     5703      +87     
==========================================
+ Hits         4856     4859       +3     
- Misses        622      707      +85     
+ Partials      138      137       -1     

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

@CarlosNihelton
Copy link
Contributor Author

Closing since didrocks is working on it as well and made more progress as well.

@CarlosNihelton CarlosNihelton deleted the go-1.22 branch March 6, 2024 13:38
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.

1 participant