Skip to content

Commit

Permalink
chore: Configure tflint & tf format pipelines (#163)
Browse files Browse the repository at this point in the history
* Configure tflint

* Configure tflint and tf format
  • Loading branch information
velotioaastha authored Nov 7, 2024
1 parent bec5e9f commit 6b86b4a
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/tf-lint.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
name: Terraform Lint Check
name: Terraform Lint and Format Check

on: [push]
on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
tflint:
name: Run tflint
terraform_checks:
name: Run Terraform Lint and Format Check
runs-on: ubuntu-latest

steps:
Expand All @@ -22,3 +28,6 @@ jobs:
- name: Run tflint
run: tflint

- name: Check Terraform formatting
run: terraform fmt -check -recursive

0 comments on commit 6b86b4a

Please sign in to comment.