From 6dc004b90786406b7302dc83c7ac9c8cb9c24175 Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Tue, 11 Feb 2020 22:09:39 -0500 Subject: [PATCH] Attempt to github actions --- .github/workflows/terraform.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/terraform.yml diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml new file mode 100644 index 0000000..2c3be96 --- /dev/null +++ b/.github/workflows/terraform.yml @@ -0,0 +1,20 @@ +name: terraform +on: [push, pull_request] +jobs: + terraform: + name: Terraform + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: fmt + uses: hashicorp/terraform-github-actions@master + with: + tf_actions_subcommand: fmt + - name: init + uses: hashicorp/terraform-github-actions@master + with: + tf_actions_subcommand: init + - name: validate + uses: hashicorp/terraform-github-actions@master + with: + tf_actions_subcommand: validate