Skip to content

Bump terraform-docs/gh-actions from 1.0.0 to 1.2.0 #20

Bump terraform-docs/gh-actions from 1.0.0 to 1.2.0

Bump terraform-docs/gh-actions from 1.0.0 to 1.2.0 #20

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@v4
- 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@v4
- 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@v4
- name: Docs
uses: terraform-docs/gh-actions@v1.2.0
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@v4
- name: Setup Terraform
uses: hashicorp/setup-terraform@v3
- name: Setup TFLint
uses: terraform-linters/setup-tflint@v4
with:
tflint_version: v0.45.0
- name: Lint
run: make lint