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 with go v1.22 #212

Merged
merged 3 commits into from
Jun 6, 2024
Merged

Build with go v1.22 #212

merged 3 commits into from
Jun 6, 2024

Conversation

tosuke
Copy link
Contributor

@tosuke tosuke commented Jun 5, 2024

This PR updates go version.
I introduced slices in #209, but go version is still v1.21.x, which broke CI.
I'm going to fix that.

go.mod Outdated
@@ -1,9 +1,10 @@
module github.com/mackerelio-labs/terraform-provider-mackerel

go 1.21
go 1.22
Copy link
Member

Choose a reason for hiding this comment

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

In Go 1.21 or higher versions, this means... "Go 1.22 development version", so 1.22 < 1.22rc1, 1.22.0, 1.22.1...

So, in my opinion for now, it's better to describe go 1.22.0 and go-version: 1.22.x (not go-version-file.)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you, I fixed it: a4c42f7

@lufia lufia merged commit 9f026b6 into mackerelio-labs:main Jun 6, 2024
1 check passed
@tosuke tosuke deleted the go-1.22 branch August 15, 2024 06:08
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.

2 participants