Merge pull request #150 from google/oci_external_attribution #549
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: Workflow | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./terraform | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@master | |
- name: HashiCorp - Setup Terraform | |
uses: hashicorp/[email protected] | |
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 |