Skip to content

Commit cc85594

Browse files
authored
Merge pull request #2076 from za/issue-2073-go-mod-tidy
Add `go mod tidy` while executing `go mod download`
2 parents d1e1754 + e4cfa3a commit cc85594

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

aws/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ You might want to set up TLS. For that, refer to the [AWS documentation](https:/
109109

110110
Want to see if the setup still works? You can use terratest to check if the current setup works via automated terratest tests, for this you need to make sure that you have installed terraform and Go version 1.21. Next, you will need to install the modules and set up credentials.
111111

112-
1. Run `go mod download`.
112+
1. Run `go mod download && go mod tidy`.
113113
2. Set up your AWS profile using `export AWS_PROFILE=<your-profile-here>`.
114114
3. Run `go test -timeout 99999s`. The default timeout is 10 min, which is too short for our purposes. We need to override that.
115115

azure/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ When you're done:
105105

106106
Want to see if the setup still works? You can use terratest to check if the current setup works via automated terratest tests, for this you need to make sure that you have installed terraform and Go version 1.21. Next, you will need to install the modules and set up credentials.
107107

108-
1. Run `go mod download`
108+
1. Run `go mod download && go mod tidy`
109109
2. Run `az login` and make sure you are on the right subscription. If necessary, use `az account list` and `az account set --subscription <your-subscription-id-here>`. and then do `export ARM_SUBSCRIPTION_ID=<.id here>`.
110110
3. Run `go test -timeout 99999s`. The default timeout is 10 min, which is too short for our purposes. We need to override that.
111111

gcp/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ When you're done:
100100

101101
Want to see if the setup still works? You can use terratest to check if the current setup works via automated terratest tests, for this you need to make sure that you have installed terraform and Go version 1.21. Next, you will need to install the modules and set up credentials.
102102

103-
1. Run `go mod download`.
103+
1. Run `go mod download && go mod tidy`.
104104
2. Run `gcloud auth application-default login`.
105105
3. Run `go test -timeout 99999s`. The default timeout is 10 min, which is too short for our purposes. We need to override that.
106106

0 commit comments

Comments
 (0)