Skip to content

Merge pull request #20 from somtochiama/check-ci #1

Merge pull request #20 from somtochiama/check-ci

Merge pull request #20 from somtochiama/check-ci #1

Workflow file for this run

name: check
on:
pull_request:
push:
branches:
- main
jobs:
terraform-fmt:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- name: Setup Terraform
uses: hashicorp/setup-terraform@633666f66e0061ca3b725c73b2ec20cd13a8fdd1 # v2
with:
terraform_version: latest
terraform_wrapper: false
- name: Check tf files
run: |
# run check formatting of files in tf-modules directory
make tf-fmt TF_ARGS="-check -diff"