Skip to content

Validate changes

Validate changes #60

Workflow file for this run

name: Validate changes
on:
push:
paths:
- '**.tf'
branches-ignore:
- 'main'
jobs:
fmt-check:
runs-on: ubuntu-latest
name: Check formatting of terraform files
steps:
- name: Checkout
uses: actions/checkout@v4
- name: terraform fmt
uses: dflook/terraform-fmt-check@v1
validate:
runs-on: ubuntu-latest
name: Validate terraform configuration
steps:
- name: Checkout
uses: actions/checkout@v4
- name: terraform validate
uses: dflook/terraform-validate@v1