Merge pull request #30 from fluxcd/reaper-delete-permissions #22
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: check | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
terraform-fmt: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Setup Terraform | |
uses: hashicorp/setup-terraform@a1502cd9e758c50496cc9ac5308c4843bcd56d36 # 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" |