diff --git a/.github/workflows/lint-test-code.yaml b/.github/workflows/lint-test-code.yaml index f0c7281..ffff91d 100644 --- a/.github/workflows/lint-test-code.yaml +++ b/.github/workflows/lint-test-code.yaml @@ -71,3 +71,11 @@ jobs: files: ./pkg/config-api-client/.coverage,.coverage flage: client,provider fail_ci_if_error: true + + - name: Setup Terraform + uses: hashicorp/setup-terraform@v1 + with: + terraform_version: 0.13.7 + + - name: Terraform Formatting Check + run: terraform fmt -recursive -check diff --git a/.github/workflows/terraform.yaml b/.github/workflows/terraform.yaml deleted file mode 100644 index 07a6912..0000000 --- a/.github/workflows/terraform.yaml +++ /dev/null @@ -1,23 +0,0 @@ -name: Terraform - -on: [push] - -jobs: - terraform-fmt: - name: Check formatting - runs-on: ubuntu-latest - env: - TF_IN_AUTOMATION: "true" - - steps: - - name: Git checkout - uses: actions/checkout@v4 - - - name: Setup Terraform - uses: hashicorp/setup-terraform@v1 - with: - terraform_version: 0.13.7 - - - name: Terraform fmt - id: fmt - run: terraform fmt -recursive -check