-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
docs: Update minimum golang version to 1.14 #4943
Conversation
37f7319
to
cf22b66
Compare
docs/code_contribution_guidelines.md
Outdated
@@ -572,7 +572,7 @@ Rejoice as you will now be listed as a [contributor](https://github.com/lightnin | |||
|
|||
## Contribution Checklist | |||
|
|||
- [ ] All changes are Go version 1.12 compliant | |||
- [ ] All changes are Go version 1.13 compliant |
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.
This should actually be Go 1.14 since we usually support the two latest versions rn: 1.14 and 1.15.
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.
Updated
ac497b8
to
470bea5
Compare
Will undo docker file change. Looks like you changed this in: 578b348 |
470bea5
to
82b8ece
Compare
@@ -1,4 +1,4 @@ | |||
FROM golang:1.12-alpine as builder |
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.
btw - I'm not sure what's up with githubs diffing here, but this is what's on master
Closing in favor of #5034 |
Hey, so looks like I missed this in #4438. So btcd now requires go 1.14 as per btcsuite/btcd#1621. I've never touched ltcd, but it is a btcd fork. It looks like their minimum is still go 1.12 so I've left that dockerfile alone for now. I can update this if needed
There's also the matter of ticker and queue which are still at 1.12. I've left these alone for now. Happy to update if needed
Pull Request Checklist
Contribution Guidelines
All changes are Go version 1.12 compliantsee pr descriptionthe positive and negative (error paths) conditions (if applicable)
the bug being fixed to prevent regressions
logging level
go fmt
lnrpc/**/*.proto
) have been formatted withmake rpc-format
and compiled withmake rpc
(the tab character should be counted as 8 characters, not 4, as some IDEs do
per default)
make check
does not fail any testsgo vet
does not report any issuesmake lint
does not report any new issues that did notalready exist
cases it can be justifiable to violate this condition. In that case, the
reason should be stated in the commit message.