Attempt to github actions

This commit is contained in:
Dan Buch 2020-02-11 22:09:39 -05:00
parent fe32b2254e
commit 6dc004b907
Signed by: meatballhat
GPG Key ID: 9685130D8B763EA7

20
.github/workflows/terraform.yml vendored Normal file
View File

@ -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