-
Notifications
You must be signed in to change notification settings - Fork 925
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: upgrade from Go 1.16 to 1.17 #479
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this! I do think it makes sense to also update the other places you've mentioned in #472 (comment) but I would leave it up to the core team to review this and decide on this.
We should update go.mod to 1.17 as well as |
Testing ``` make install # succeeds make build # succeeds ```
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! The v1.17's lazyloading feature is something I was waiting for a long time in Go and excited to finally have it in this repo. Thank you @rootulp. LGTM.
@liamsi, as you added the |
+1 this is a breaking change and should have a changelog entry |
@liamsi added no_changelog when this PR just removed 1.16 from GH actions. Sorry this PR has increased in scope since then so I added a changelog. Please let me know if there's anything else I can do. |
@rootulp, can you pls remove your merge commit? We always rebase and avoid those |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved, thanks for your contribution @rootulp
We will squash merge the PR :)
* chore: remove Go 1.16 from GH actions Fixes celestiaorg#472 * chore: upgrade to Go 1.17 Testing ``` make install # succeeds make build # succeeds ``` * Add back Go 1.17 preferred build directive Motivation in https://github.com/celestiaorg/celestia-node/pull/479/files#r816032325
* chore: remove Go 1.16 from GH actions Fixes celestiaorg#472 * chore: upgrade to Go 1.17 Testing ``` make install # succeeds make build # succeeds ``` * Add back Go 1.17 preferred build directive Motivation in https://github.com/celestiaorg/celestia-node/pull/479/files#r816032325
Fixes #472