Skip to content

Stabilise CI deployments #936

Stabilise CI deployments

Stabilise CI deployments #936

---
name: Check terraform syntax
"on":
push:
paths:
- 'terraform/**'
- '.github/workflows/check-terraform-syntax.yml'
branches:
- main
pull_request:
paths:
- 'terraform/**'
- '.github/workflows/check-terraform.yml'
jobs:
check-terraform-syntax:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup terraform
uses: hashicorp/setup-terraform@v2
with:
terraform_version: 1.5.3 # renovate: datasource=github-tags depName=hashicorp/terraform
- name: Terraform validate
run: make validate
working-directory: ./terraform
env:
ENVIRONMENT: default
- name: Terraform format
run: terraform fmt -check
working-directory: ./terraform