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

build: update go to v1.19.4-beta #427

Merged
merged 3 commits into from
Jan 6, 2023

Conversation

positiveblue
Copy link
Contributor

@positiveblue positiveblue commented Jan 5, 2023

  • Since Go v1.19.0 go fmt also formats commented code so files need to be reformated.
  • Includes the fix for the lint complains about vsc

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

Copy link
Member

@guggero guggero left a 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!

poolscript/script.go Show resolved Hide resolved
poolscript/script.go Outdated Show resolved Hide resolved
@positiveblue positiveblue force-pushed the update-go-19.4 branch 2 times, most recently from 7caeedc to 82dd3af Compare January 5, 2023 09:55
Copy link
Contributor

@ffranr ffranr left a 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
Copy link
Contributor

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?

Copy link
Contributor Author

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.

Copy link
Member

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯

clientdb/batch_snapshot.go Show resolved Hide resolved
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.
@guggero
Copy link
Member

guggero commented Jan 6, 2023

Looks like we need to bump the version of protobuf as the new alpine probably ships with a newer version.

@guggero guggero merged commit b24e1b1 into lightninglabs:master Jan 6, 2023
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.

3 participants