From e1cf52951e7554e88c83e3e0911db2e7b9174013 Mon Sep 17 00:00:00 2001 From: Brian Helba Date: Tue, 9 Feb 2021 20:17:34 -0500 Subject: [PATCH] Add basic CI --- .github/workflows/ci.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..fd8e1ed --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,20 @@ +name: ci +on: + pull_request: + push: + branches: + - master + schedule: + - cron: "0 0 * * *" +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up Terraform + uses: hashicorp/setup-terraform@v1 + with: + terraform_wrapper: false + - name: Lint Terraform + run: | + terraform fmt -recursive -check