Skip to content

Test automation

Test automation #33

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: terraform-validate
uses: dflook/[email protected]
- name: Lint Terraform
uses: actionshub/terraform-lint@main
generate-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Render terraform docs and push changes back to PR
uses: terraform-docs/gh-actions@main
with:
config-file: .terraform-docs.yml
working-dir: .
output-file: README.md
output-method: inject
git-push: "true"