Skip to content

Commit

Permalink
Add GitHub action to check Terraform formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
davidalber committed Mar 15, 2024
1 parent c716078 commit 68fa4ec
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/terraform-fmt.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Check Terraform formatting

on: [push]

jobs:
check_format:
runs-on: ubuntu-latest
name: Check Terraform formatting
steps:
- uses: actions/checkout@v4
- name: terraform fmt
uses: dflook/terraform-fmt-check@v1
with:
path: infra

0 comments on commit 68fa4ec

Please sign in to comment.