Skip to content

[DNM] Test OSISM CI image + boot from volume #909

[DNM] Test OSISM CI image + boot from volume

[DNM] Test OSISM CI image + boot from volume #909

---
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.0 # 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