Skip to content

Bump hashicorp/setup-terraform from 2.0.3 to 3.0.0 (#16) #36

Bump hashicorp/setup-terraform from 2.0.3 to 3.0.0 (#16)

Bump hashicorp/setup-terraform from 2.0.3 to 3.0.0 (#16) #36

Workflow file for this run

name: Validate, Lint and Test
on:
push:
branches:
- main
pull_request:
jobs:
lint-and-validate:
name: "Terraform fmt and validate"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- name: Setup Terraform
uses: hashicorp/setup-terraform@a1502cd9e758c50496cc9ac5308c4843bcd56d36 # v3.0.0
- name: Lint
run: |
terraform fmt -check
- name: Validate
run: |
terraform init
terraform validate