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

feat(build): upgrade to Go v1.21 ✨ #1128

Merged
merged 3 commits into from
Apr 30, 2024
Merged

feat(build): upgrade to Go v1.21 ✨ #1128

merged 3 commits into from
Apr 30, 2024

Conversation

pranav-new-relic
Copy link
Member

@pranav-new-relic pranav-new-relic commented Apr 19, 2024

Bumps up the version of Golang used in dependencies and GitHub workflows to go1.21
Approach adapted from newrelic/newrelic-cli#1592 newrelic/terraform-provider-newrelic#2557

Question: Does this PR also need changes in .golangci.yml as made in newrelic/newrelic-cli#1592? @sanderblue

@pranav-new-relic
Copy link
Member Author

image

rand.Seed(time.Now().UnixNano())
// commented this line out, since this no longer works with go1.21 and needs no alternative, as seeding isn't needed
// rand.Seed(time.Now().UnixNano())
Copy link
Member Author

Choose a reason for hiding this comment

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

image

@pranav-new-relic pranav-new-relic marked this pull request as ready for review April 29, 2024 15:21
@pranav-new-relic pranav-new-relic merged commit efe41f2 into main Apr 30, 2024
9 of 10 checks passed
@pranav-new-relic pranav-new-relic deleted the go1.21-upgrade branch April 30, 2024 15:21
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