From ce158c020e0d9c63826e1c68327d79a5316d5d11 Mon Sep 17 00:00:00 2001 From: Alejandro Alvarez Date: Fri, 10 Jan 2025 11:38:17 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20(test-harness.yml):=20add=20Terrafo?= =?UTF-8?q?rm=20setup=20step=20to=20the=20CI=20workflow=20for=20better=20i?= =?UTF-8?q?nfrastructure=20management=20=F0=9F=94=A7=20(test-harness.yml):?= =?UTF-8?q?=20specify=20Terraform=20version=201.5.7=20to=20ensure=20consis?= =?UTF-8?q?tency=20across=20environments?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test-harness.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/test-harness.yml b/.github/workflows/test-harness.yml index ecd17c8c..9e73ef66 100644 --- a/.github/workflows/test-harness.yml +++ b/.github/workflows/test-harness.yml @@ -48,6 +48,12 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha || github.ref }} + - name: Setup Terraform + uses: hashicorp/setup-terraform@v3 + with: + terraform_version: "1.5.7" + terraform_wrapper: false + # This action will queue the workflow if another workflow is already running - uses: ahmadnassri/action-workflow-queue@v1 with: @@ -220,6 +226,12 @@ jobs: with: credentials_json: ${{ secrets.GOOGLE_CREDENTIALS }} + - name: Setup Terraform + uses: hashicorp/setup-terraform@v3 + with: + terraform_version: "1.5.7" + terraform_wrapper: false + - name: set GCP project id: config_project run: gcloud config set project testharnesstests