Skip to content

Bump hashicorp/setup-terraform from 2 to 3 (#3) #13

Bump hashicorp/setup-terraform from 2 to 3 (#3)

Bump hashicorp/setup-terraform from 2 to 3 (#3) #13

Workflow file for this run

name: Terraform
on:
- push
jobs:
checkfmt:
name: Format
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Terraform
uses: hashicorp/setup-terraform@v3
- name: Check format
run: make checkfmt
validate:
name: Validate
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Terraform
uses: hashicorp/setup-terraform@v3
- name: Validate
run: make validate
docs:
name: Docs
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Docs
uses: terraform-docs/[email protected]
with:
git-push: true
output-file: README.md
output-method: inject
working-dir: .
lint:
name: Lint
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Terraform
uses: hashicorp/setup-terraform@v3
- name: Setup TFLint
uses: terraform-linters/setup-tflint@v3
with:
tflint_version: v0.45.0
- name: Lint
run: make lint