diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ab6f1fd9e..eb44e3b02 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -on: [push, pull_request] +on: [ push, pull_request ] jobs: rust: @@ -25,6 +25,9 @@ jobs: steps: - uses: actions/checkout@master + - name: Ensure the terraform files are semantically valid + run: terraform validate + - name: Ensure the terraform files are formatted correctly run: terraform fmt -check -diff -recursive