Skip to content

asdf: update/cleanup tools and fix missing plugins (#58) #4

asdf: update/cleanup tools and fix missing plugins (#58)

asdf: update/cleanup tools and fix missing plugins (#58) #4

name: Terraform lint
on:
pull_request:
paths:
- 'terraform/**'
- '.tool-versions'
- '.github/actions/**'
- '.github/workflows/lint-terraform.yaml'
push:
branches:
- master
paths:
- 'terraform/**'
- '.tool-versions'
- '.github/actions/**'
- '.github/workflows/lint-terraform.yaml'
jobs:
terraform-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- name: Lint
working-directory: ./terraform
run: >
terraform fmt --recursive --check --list=true --diff