Skip to content

NO-ISSUE: Add tofu plan and validate workflows for pull requests #1

NO-ISSUE: Add tofu plan and validate workflows for pull requests

NO-ISSUE: Add tofu plan and validate workflows for pull requests #1

Workflow file for this run

name: Validate
on:
pull_request:
paths:
- "**/*.tf"
- "**/*.csv"
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
validate:
runs-on: ubuntu-latest
env:
TF_CLI_ARGS: "-no-color"
TF_IN_AUTOMATION: "true"
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- name: Setup OpenTofu
uses: opentofu/setup-opentofu@a1320f892987e89d278cc92dc5adc984fb93aca4 # v2
with:
tofu_wrapper: false
- name: TF init (no backend)
run: tofu init -backend=false
- name: TF Validate
run: tofu validate