Skip to content

Commit

Permalink
simplify terraform fmt check
Browse files Browse the repository at this point in the history
  • Loading branch information
swiknaba committed Jul 15, 2021
1 parent 8ef8633 commit f448ec9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,4 @@ jobs:
- name: lint formatting of ${{ matrix.module }} module
run: |
cd ${{ matrix.module }}
terraform fmt
CHANGES=$(git diff)
echo "$CHANGES"
if [[ -z "$CHANGES" ]]; then exit 0; else exit 1; fi
terraform fmt -check

0 comments on commit f448ec9

Please sign in to comment.