Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

Commit

Permalink
Merge pull request #7 from CallePuzzle/issue-6-upgrade_terratest_version
Browse files Browse the repository at this point in the history
fix: upgrade terratest version
  • Loading branch information
jilgue authored Mar 8, 2022
2 parents d631083 + 87b8635 commit 767592e
Show file tree
Hide file tree
Showing 3 changed files with 872 additions and 198 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ env:
REGION: ${{ secrets.CT_REGION }}
SA_KEY: ${{ secrets.CT_SA_KEY }}
SA_EMAIL: ${{ secrets.CT_SA_EMAIL }}
TERRAFORM_VERSION: 0.12.25

jobs:
test-action:
Expand All @@ -17,22 +18,23 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
- name: 'Authenticate to Google Cloud'
uses: 'google-github-actions/auth@v0'
with:
version: '278.0.0'
service_account_email: ${{ env.SA_EMAIL }}
service_account_key: ${{ env.SA_KEY }}
export_default_credentials: true
credentials_json: ${{ env.SA_KEY }}

- name: 'Set up Cloud SDK'
uses: 'google-github-actions/setup-gcloud@v0'

- name: Golang setup
uses: actions/setup-go@v1
with:
go-version: 1.14

- name: Setup Terraform
uses: autero1/action-terraform@v0.1.0
uses: hashicorp/setup-terraform@v1
with:
terraform_version: 0.12.25
terraform_version: ${{ env.TERRAFORM_VERSION }}

- name: Download Go modules
working-directory: test
Expand Down
2 changes: 1 addition & 1 deletion test/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module terraform-google-cloud-run

go 1.14

require github.com/gruntwork-io/terratest v0.27.2
require github.com/gruntwork-io/terratest v0.40.6
Loading

0 comments on commit 767592e

Please sign in to comment.