Skip to content

fix tool versions

fix tool versions #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@v3
- uses: ./.github/actions/setup
- name: Lint
working-directory: ./terraform
run: >
terraform fmt --recursive --check --list=true --diff