EKS in AWS Curvenote account #36
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: Terraform static checks | |
on: | |
pull_request: | |
paths: | |
- "terraform/**" | |
push: | |
paths: | |
- "terraform/**" | |
workflow_dispatch: | |
# We can't run CI tests on Terraform, so use as many static linters as possible | |
jobs: | |
terraform-pre-commit: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version-file: ".python-version" | |
- name: Install dependencies | |
run: pip install pre-commit | |
# https://github.com/terraform-linters/setup-tflint | |
- name: Install tflint | |
uses: terraform-linters/[email protected] | |
with: | |
tflint_version: v0.47.0 | |
- name: Run terraform pre-commit | |
run: pre-commit run --all --config .pre-commit-config-terraform.yaml |