Skip to content

feat: add init option #128

feat: add init option

feat: add init option #128

Workflow file for this run

on:
- pull_request
env:
tf_actions_working_dir: .
jobs:
terraform-verify:
name: 'Terraform Verify'
defaults:
run:
working-directory: ${{ env.tf_actions_working_dir }}
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: GuillaumeFalourd/diff-action@v1
with:
first_file_path: variables.tf
second_file_path: examples/basic/variables.tf
expected_result: PASSED
- uses: hashicorp/[email protected]
with:
terraform_wrapper: false
- name: Terraform fmt
id: fmt
run: terraform fmt -check
continue-on-error: true
- name: Terraform Init
id: init
run: terraform init
- name: Terraform Validate
id: validate
run: terraform validate -no-color
- name: Integration tests
id: test
run: make test