From d8bdab6d86aeefc95a28e49656edee62462b6b4a Mon Sep 17 00:00:00 2001 From: Colin Wilson Date: Mon, 7 Feb 2022 13:43:47 +0000 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=20add=20terraform=20fmt=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/release.yaml diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..6a159a6 --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,23 @@ +name: 'Terraform' + +on: + pull_request: + +jobs: + terraform: + name: 'Terraform Format' + runs-on: ubuntu-20.04 + + defaults: + run: + shell: bash + + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Setup Terraform + uses: hashicorp/setup-terraform@v1 + + - name: Terraform Format + run: terraform fmt -check \ No newline at end of file