-
Notifications
You must be signed in to change notification settings - Fork 440
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
Use golang 1.19 #1021
Use golang 1.19 #1021
Conversation
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v3 | ||
|
||
- name: Lint | ||
uses: golangci/golangci-lint-action@v3 | ||
with: | ||
args: -v | ||
version: v1.45 | ||
version: v1.47 |
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.
golangci does not support go 1.19 just yet golangci/golangci-lint#3037
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.
I cannot get the linter to work. see as well golangci/golangci-lint#2374 (comment)
I am happy to merge this and book an issue to update golangci once it supports golang 1.19 |
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.
mh.. now iam confused by the diff? The ci worked, but there is no downgrade in the files?
what downgrade? |
This one? 9e6d86b |
There is no downgrade, I have reverted it back to the original version. |
//Following Otel Doc: Configuring a receiver does not enable it. The receivers are enabled via pipelines within the service section. | ||
//GetEnabledReceivers returns all enabled receivers as a true flag set. If it can't find any receiver, it will return a nil interface. | ||
func GetEnabledReceivers(logger logr.Logger, config map[interface{}]interface{}) map[interface{}]bool { | ||
// Following Otel Doc: Configuring a receiver does not enable it. The receivers are enabled via pipelines within the service section. |
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.
lint was complaining that there was no space
@@ -17,7 +17,7 @@ package reconcile | |||
import ( | |||
"context" | |||
"fmt" | |||
"io/ioutil" |
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.
io/ioutil
is deprecated
PR is ready to be merged |
71ee75a
to
3c5699f
Compare
@pavolloffay, could you please rebase it? |
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
7b3347a
to
6126c69
Compare
PR rebased. |
Signed-off-by: Pavol Loffay <p.loffay@gmail.com> Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
Signed-off-by: Pavol Loffay p.loffay@gmail.com