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

Update to Go 1.22 and update deps #78

Merged
merged 5 commits into from
Mar 20, 2024

Conversation

andrewkroh
Copy link
Member

@andrewkroh andrewkroh commented Mar 19, 2024

Update to Go 1.22.

Update dependencies.

Bind to 127.0.0.1 when testing.

Add dependabot.yml config to keep GH actions updated.

Remove usage of GO111MODULE=off.

Update to https://github.com/updatecli/updatecli-action/releases/tag/v2.56.0.

@andrewkroh andrewkroh marked this pull request as ready for review March 20, 2024 00:15
@elasticmachine
Copy link

💚 Build Succeeded

History

@andrewkroh andrewkroh requested review from a team March 20, 2024 20:15
@andrewkroh andrewkroh merged commit 8f45708 into elastic:main Mar 20, 2024
7 checks passed
Comment on lines +4 to +5
GOIMPORTS := go run golang.org/x/tools/cmd/goimports@latest
GOLICENSER := go run github.com/elastic/go-licenser@latest
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggest that if @latest are used, the makefile emits the version of the tools during the build.

curl -s https://proxy.golang.org/golang.org/x/tools/@latest | jq '.Version'
curl -s https://proxy.golang.org/github.com/elastic/go-licenser/@latest | jq '.Version'

Copy link
Member Author

Choose a reason for hiding this comment

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

I think what you are saying is that we should not use @latest? Based on recent pains, I would agree. Moving toward a more hermetic build would be better despite the increased effort to periodically update versions.

Copy link
Contributor

Choose a reason for hiding this comment

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

I would prefer not to have dynamic versions, yes.

Copy link
Member Author

Choose a reason for hiding this comment

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

I opened #80 to automate this.

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.

4 participants