Skip to content

Merge pull request #10 from meshcloud/feature/add-github-actions-work… #91

Merge pull request #10 from meshcloud/feature/add-github-actions-work…

Merge pull request #10 from meshcloud/feature/add-github-actions-work… #91

Workflow file for this run

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