Skip to content

Commit

Permalink
Use the latest TF for tests (#88)
Browse files Browse the repository at this point in the history
* Use the latest TF for tests

* Use only Go 1.17
  • Loading branch information
grem11n committed Mar 26, 2022
1 parent 1c03774 commit e6c202e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/terratest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
terraform: ['0.15.0']
terraform: ['1.1.7']
steps:
- uses: actions/checkout@master
- uses: hashicorp/setup-terraform@v1
Expand All @@ -39,12 +39,12 @@ jobs:
strategy:
max-parallel: 1
matrix:
terraform: ['0.15.0']
terraform: ['1.1.7']
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.16'
go-version: '1.17'

- name: Checkout
uses: actions/checkout@v1
Expand All @@ -68,6 +68,6 @@ jobs:
TF_VAR_aws_this_secret_key: ${{ secrets.TF_VAR_aws_this_secret_key }}
run: >
go mod init github.com/grem11n/terraform-aws-vpc-peering &&
go mod tidy &&
go mod tidy -compat=1.17 &&
echo 'package main' > main.go &&
go test -v -timeout=30m ./...

0 comments on commit e6c202e

Please sign in to comment.