gcp: k8s version updates, transitions to pd-balanced disks, towards n2- nodes #490
Workflow file for this run
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: 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/ |