a5 updates #13
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Infra status check' | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
infra: | |
name: 'Terraform Format and Validate' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Setup Terraform | |
uses: hashicorp/setup-terraform@v3 | |
- name: Terraform Format and validate | |
run: | | |
terraform fmt -check | |
terraform init | |
terraform validate |