Update README.md #104
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 | |
jobs: | |
validate: | |
name: Validate | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v1 | |
- uses: hashicorp/setup-terraform@v1 | |
with: | |
terraform_version: 1.0.10 | |
# note: we can only validate the example atm. see https://github.com/hashicorp/terraform/issues/28490 | |
- run: terraform init -backend=false | |
working-directory: examples/basic-aws-integration | |
- run: terraform validate | |
working-directory: examples/basic-aws-integration | |
- run: terraform fmt -recursive -check |