Skip to content

Commit

Permalink
feat: add linting for terraform files
Browse files Browse the repository at this point in the history
  • Loading branch information
m90 committed Sep 14, 2023
1 parent caff22c commit e305925
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test.yaml → .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
on: push
name: Test
name: Lint
jobs:
lint:
runs-on: ubuntu-latest
Expand All @@ -8,3 +8,7 @@ jobs:
uses: actions/checkout@v3
- name: Lint YAML files
uses: ibiqlik/action-yamllint@v3
- name: Install Terraform
uses: hashicorp/setup-terraform@v2
- name: Check if Terraform files are properly formatted
run: terraform fmt -check tf/**/*.tf

0 comments on commit e305925

Please sign in to comment.