chore: Add tofu plan workflow
All checks were successful
tofu plan / opentofu (pull_request) Successful in 10s

This commit is contained in:
Peter 2025-11-28 15:34:52 +01:00
parent c10aded847
commit 1f6970c321
Signed by: Peter
SSH key fingerprint: SHA256:B5tYaxBExaDm74r1px9iVeZ6F/ZDiyiy9SbBqfZYrvg

View file

@ -0,0 +1,35 @@
---
name: tofu plan
on:
workflow_dispatch:
workflow_call:
pull_request:
branches:
- main
# paths:
# - pve01.wheatley.in/k8s-whealtey/**
jobs:
opentofu:
runs-on: docker
steps:
- uses: actions/checkout@v4
- uses: opentofu/setup-opentofu@v1
- name: OpenTofu fmt
id: fmt
run: tofu fmt -check
continue-on-error: true
- name: OpenTofu Init
id: init
run: tofu init
- name: OpenTofu Validate
id: validate
run: tofu validate -no-color
- name: OpenTofu Plan
id: plan
run: tofu plan -no-color
continue-on-error: true