-
Notifications
You must be signed in to change notification settings - Fork 48
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
build: update go to v1.19.4-beta #427
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.
LGTM, thanks for the fixes!
677f33d
to
177c668
Compare
7caeedc
to
82dd3af
Compare
82dd3af
to
627c9c4
Compare
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.
Looks good!
Added one nit comment and one question.
tools/Dockerfile
Outdated
@@ -11,6 +11,9 @@ RUN cd /tmp \ | |||
&& mkdir -p /tmp/build/.modcache \ | |||
&& cd /tmp/tools \ | |||
&& go install -trimpath -tags=tools github.com/golangci/golangci-lint/cmd/golangci-lint \ | |||
&& chmod -R 777 /tmp/build/ | |||
&& chmod -R 777 /tmp/build/ \ | |||
&& git config --global --add safe.directory /build |
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.
Is it possible to remove this line now that go has been updated?
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 thought yes, but no, it is not possible.
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.
Can you try if removing the -buster
from the docker image changes anything?
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.
🎯
627c9c4
to
2d61471
Compare
Since v1.19.0 `go fmt` also formats comments. This commit is only to ensure that `go fmt ./...` does not modify any of our commited files.
Looks like we need to bump the version of |
2d61471
to
53835f5
Compare
go fmt
also formats commented code so files need to be reformated.P.S: I can extract some of the steps in the actions in a comment one for
Seting up Golang environment
if needed in this PR too