From 6439a64488856c461a9eb7a8f7adb30901080cef Mon Sep 17 00:00:00 2001 From: Shunsuke Suzuki Date: Mon, 14 Oct 2024 03:01:23 +0900 Subject: [PATCH] Install Terraform to fix CI failure that Terraform is not found (#717) --- .github/workflows/test.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2fd549632..274c17757 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -157,6 +157,10 @@ jobs: - name: Check out code into the Go module directory uses: actions/checkout@v4 + - uses: hashicorp/setup-terraform@v3 + with: + terraform_version: "1.9.7" + - name: Run tests for ${{ matrix.demo-folder }} run: | cd examples/${{ matrix.demo-folder }} @@ -262,6 +266,10 @@ jobs: - name: Check out code into the Go module directory uses: actions/checkout@v4 + - uses: hashicorp/setup-terraform@v3 + with: + terraform_version: "1.9.7" + - name: Run tests for ${{ matrix.demo-folder }} run: | cd examples/${{ matrix.demo-folder }}