Re-enable EBS CSI driver #14
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 and Test | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: hashicorp/setup-terraform@v3 | |
with: | |
terraform_version: "1.7.0" | |
- name: Terraform Format Check | |
run: terraform fmt -check -recursive | |
- uses: terraform-linters/setup-tflint@v4 | |
with: | |
tflint_version: v0.50.0 | |
- name: TFLint | |
run: | | |
tflint --init | |
tflint --recursive --format compact | |
validate: | |
name: Validate | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: hashicorp/setup-terraform@v3 | |
with: | |
terraform_version: "1.7.0" | |
- name: Terraform Init | |
run: | | |
cd examples/simple | |
terraform init -backend=false | |
- name: Terraform Validate | |
run: | | |
cd examples/simple | |
terraform validate |