From e6c202ed0b212d00f597bd31e8d804549a33a809 Mon Sep 17 00:00:00 2001 From: Yurii Rochniak Date: Sat, 26 Mar 2022 15:19:08 +0100 Subject: [PATCH] Use the latest TF for tests (#88) * Use the latest TF for tests * Use only Go 1.17 --- .github/workflows/terratest.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/terratest.yml b/.github/workflows/terratest.yml index 23d3528..07039ce 100644 --- a/.github/workflows/terratest.yml +++ b/.github/workflows/terratest.yml @@ -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 @@ -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 @@ -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 ./...