hcloud-server-tf/.woodpecker/test.yml

25 lines
501 B
YAML

---
when:
- event: [pull_request, tag]
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
steps:
- name: git-spaces
image: quay.io/thegeeklab/alpine-tools
commands:
- git diff-tree --check $(git hash-object -t tree /dev/null) HEAD
- name: tflint
image: ghcr.io/terraform-linters/tflint
commands:
- tflint --color
- name: tofu
image: quay.io/thegeeklab/wp-opentofu
settings:
action:
- validate
tofu_version: 1.6.1