Robert Kaussow
5eb39daf95
Reviewed-on: #4 Co-authored-by: Robert Kaussow <mail@thegeeklab.de> Co-committed-by: Robert Kaussow <mail@thegeeklab.de>
25 lines
501 B
YAML
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
|