Skip to content

chore: check if fmt fails #7

chore: check if fmt fails

chore: check if fmt fails #7

Workflow file for this run

name: k8s app
on:
workflow_dispatch: ~
pull_request:
branches:
- "main"
push:
branches:
- "main"
jobs:
terraform_fmt:
runs-on: ubuntu-20.04
name: "Check terraform language style conventions"
steps:
- uses: actions/checkout@v3
- run: |
terraform fmt --check --diff
terraform_validation:
runs-on: ubuntu-20.04
name: "Validate terraform configuration"
steps:
- uses: actions/checkout@v3
- run: |
terraform init
terraform validate
test:
runs-on: ubuntu-20.04
name: "Tests terraform"
steps:
- uses: actions/checkout@v3
- run: |
terraform init
terraform test