Skip to content

Commit 5feaec3

Browse files
authored
Add terraform install to GH actions (#61)
Signed-off-by: Jim Enright <[email protected]>
1 parent 6510964 commit 5feaec3

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/check_terraform_fmt.yml

+4
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ jobs:
2828
- name: Checkout
2929
uses: actions/checkout@v3
3030

31+
# Setup terraform
32+
- name: Setup Terraform
33+
uses: hashicorp/setup-terraform@v3
34+
3135
- name: Validate with terraform fmt
3236
uses: pre-commit/[email protected]
3337
with:

.github/workflows/check_tflint.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@ jobs:
2727
steps:
2828
- name: Checkout
2929
uses: actions/checkout@v3
30-
30+
31+
# Setup terraform
32+
- name: Setup Terraform
33+
uses: hashicorp/setup-terraform@v3
34+
3135
- name: Install the tflint utility
3236
run: |
3337
curl -s https://raw.githubusercontent.com/terraform-linters/tflint/master/install_linux.sh | bash

0 commit comments

Comments
 (0)