Merge pull request #51 from vanessanmd/media-tags-automation #69
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 Validate | |
on: ['push'] | |
jobs: | |
terraform-actions: | |
name: Terraform build | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./terraform | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@master | |
- name: HashiCorp - Setup Terraform | |
uses: hashicorp/setup-terraform@v1.3.2 | |
with: | |
terraform_version: 0.14.6 | |
- name: Terraform Init | |
id: init | |
run: terraform init | |
continue-on-error: true | |
- name: Terraform Fmt | |
id: fmt | |
run: terraform fmt -check -diff | |
continue-on-error: true | |
- name: Terraform Validate | |
id: validate | |
run: terraform validate -no-color | |
continue-on-error: false |