Skip to content

Merge pull request #46 from fluxcd/dependabot/github_actions/ci-f9ffe… #78

Merge pull request #46 from fluxcd/dependabot/github_actions/ci-f9ffe…

Merge pull request #46 from fluxcd/dependabot/github_actions/ci-f9ffe… #78

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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup Terraform
uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # 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"