11 lines
206 B
YAML
11 lines
206 B
YAML
when:
|
|
branch: main
|
|
event: push
|
|
|
|
steps:
|
|
- name: validate
|
|
image: hashicorp/terraform:1.10
|
|
commands:
|
|
- terraform init -backend=false
|
|
- terraform validate
|
|
- terraform fmt -check
|