Skip to content

Commit

Permalink
Add terraform install to GH actions
Browse files Browse the repository at this point in the history
Signed-off-by: Jim Enright <[email protected]>
  • Loading branch information
jimright committed Jan 16, 2025
1 parent 6510964 commit 4b33f36
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/check_terraform_fmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

# Setup terraform
- name: Setup Terraform
uses: hashicorp/setup-terraform@v3

- name: Validate with terraform fmt
uses: pre-commit/[email protected]
with:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/check_tflint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3


# Setup terraform
- name: Setup Terraform
uses: hashicorp/setup-terraform@v3

- name: Install the tflint utility
run: |
curl -s https://raw.githubusercontent.com/terraform-linters/tflint/master/install_linux.sh | bash
Expand Down

0 comments on commit 4b33f36

Please sign in to comment.