infrastructure/.github/workflows/terraform.yml

17 lines
396 B
YAML

name: Terraform
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install terraform
uses: marocchino/setup-terraform@v1
with:
version: "0.12.20"
- name: Initialize Terraform
run: ./scripts/terraform/terraform.sh init -backend=false
- name: Lint
run: ./scripts/terraform/lint.sh