Skip to content

Commit

Permalink
add validate workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
vysahjk committed Jul 12, 2024
1 parent 4bf77f9 commit 20e70a3
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/validate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Validate terraform module

on:
pull_request:
branches:
- '*'

jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: module terraform init
run: terraform init
- name: module terraform fmt
run: terraform fmt
- name: validate configuration
run: terraform validate

0 comments on commit 20e70a3

Please sign in to comment.