when: branch: main event: push steps: - name: validate image: hashicorp/terraform:1.10 commands: - terraform init -backend=false - terraform validate - terraform fmt -check