From 04cc4fc05bfdc9edf333fb932831816ce41afb63 Mon Sep 17 00:00:00 2001 From: jasonBirchall Date: Fri, 17 Feb 2023 17:16:22 +0000 Subject: [PATCH] Bump GitHub Action TF version to >= 1.2.5 --- .github/workflows/unit.yml | 45 +++++++++++++++++++------------------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index f1c47b6..a46d5a7 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -1,23 +1,24 @@ -on: - pull_request: - types: [opened, edited, reopened, synchronize] - +"on": + pull_request: + types: + - opened + - edited + - reopened + - synchronize jobs: - go-tests: - name: Run Terratest Unit Tests - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Setup Terraform - uses: hashicorp/setup-terraform@v1 - with: - terraform_version: 0.14.x - terraform_wrapper: false - - - name: Run tf Tests - working-directory: test - run: | - terraform init - terraform validate + go-tests: + name: Run Terratest Unit Tests + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Setup Terraform + uses: hashicorp/setup-terraform@v1 + with: + terraform_version: 1.2.5 + terraform_wrapper: false + - name: Run tf Tests + working-directory: test + run: | + terraform init + terraform validate