Skip to content

Commit

Permalink
✨ (test-harness.yml): add Terraform setup step to the CI workflow for…
Browse files Browse the repository at this point in the history
… better infrastructure management

🔧 (test-harness.yml): specify Terraform version 1.5.7 to ensure consistency across environments
  • Loading branch information
jandroav committed Jan 10, 2025
1 parent 429236b commit ce158c0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/test-harness.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ce158c0

Please sign in to comment.