feat: add template repo #94
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: Terraform CI | |
on: | |
push: | |
merge_group: | |
types: [checks_requested] | |
jobs: | |
validate: | |
name: Validate | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- uses: hashicorp/setup-terraform@v1 | |
with: | |
terraform_version: ^1.1 | |
- name: Run Terraform Tests - Azure | |
working-directory: azure/terraform | |
run: | | |
terraform init | |
terraform validate | |
terraform fmt -recursive -check | |
- name: Run Terraform Tests - GCP | |
working-directory: gcp/terraform | |
run: | | |
terraform init | |
terraform validate | |
terraform fmt -recursive -check | |
- name: Run Terraform Tests - AWS | |
working-directory: gcp/terraform | |
run: | | |
terraform init | |
terraform validate | |
terraform fmt -recursive -check |