Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update go version to 1.21.0 #1349

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ env: &env
PACKER_VERSION: 1.7.4
TERRAGRUNT_VERSION: v0.36.0
OPA_VERSION: v0.33.1
GO_VERSION: 1.21.1
GO_VERSION: 1.21.0
GO111MODULE: auto
K8S_VERSION: v1.18.20 # Same as EKS
MINIKUBE_VERSION: v1.22.0
Expand Down
2 changes: 1 addition & 1 deletion docs/_docs/01_getting-started/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ custom_js:

Terratest uses the Go testing framework. To use Terratest, you need to install:

- [Go](https://golang.org/) (requires version >=1.21.1)
- [Go](https://golang.org/) (requires version >=1.21.0)

## Setting up your project

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/gruntwork-io/terratest

go 1.21.1
go 1.21.0
Copy link
Member

@denis256 denis256 Sep 27, 2023

Choose a reason for hiding this comment

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

I was wondering if can be specified go 1.21, version without patch version

Choose a reason for hiding this comment

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

Yes, it's possible. There are multiple references in https://go.dev/blog/using-go-modules


require (
cloud.google.com/go v0.105.0 // indirect
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<testsuites>
<testsuite tests="52" failures="0" time="1.019" name="github.com/gruntwork-io/terratest/modules/logger/parser">
<properties>
<property name="go.version" value="go1.21.1"></property>
<property name="go.version" value="go1.21.0"></property>
</properties>
<testcase classname="parser" name="TestStackPush" time="0.000"></testcase>
<testcase classname="parser" name="TestStackPop" time="0.000"></testcase>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<testsuites>
<testsuite tests="55" failures="3" time="1.020" name="github.com/gruntwork-io/terratest/modules/logger/parser">
<properties>
<property name="go.version" value="go1.21.1"></property>
<property name="go.version" value="go1.21.0"></property>
</properties>
<testcase classname="parser" name="TestStackPush" time="0.000"></testcase>
<testcase classname="parser" name="TestStackPop" time="0.000"></testcase>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<testsuites>
<testsuite tests="3" failures="1" time="1.589" name="github.com/gruntwork-io/terratest/modules/logger/parser">
<properties>
<property name="go.version" value="go1.21.1"></property>
<property name="go.version" value="go1.21.0"></property>
</properties>
<testcase classname="parser" name="TestIntegrationBasicExample" time="0.000">
<failure message="Failed" type=""> integration_test.go:57: </failure>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<testsuites>
<testsuite tests="52" failures="4" time="0.020" name="github.com/gruntwork-io/terratest/modules/logger/parser">
<properties>
<property name="go.version" value="go1.21.1"></property>
<property name="go.version" value="go1.21.0"></property>
</properties>
<testcase classname="parser" name="TestStackPush" time="0.000"></testcase>
<testcase classname="parser" name="TestStackPop" time="0.000"></testcase>
Expand Down