This repository has been archived by the owner on Mar 20, 2024. It is now read-only.
Merge pull request #189 from ethpandaops/devnet-8 #158
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | |
job: | |
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 |