Skip to content

HHMI hub

HHMI hub #491

Workflow file for this run

name: Lint terraform
on:
pull_request:
paths:
- "terraform/**"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: hashicorp/setup-terraform@v2
- uses: terraform-linters/setup-tflint@v3
- name: Run terraform linter
run: |
cd terraform
tflint --recursive
- name: Check terraform formatting
run: terraform fmt -check -diff terraform/