Skip to content

Upgrade linter action #3

Upgrade linter action

Upgrade linter action #3

Workflow file for this run

name: Terraform Lint
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: opentofu/setup-opentofu@v1
with:
tofu-version: 1.9
- name: Format
run: tofu fmt -check
working-directory: ./terraform
- name: Init
run: tofu init
working-directory: ./terraform
- name: Validate
run: tofu validate
working-directory: ./terraform