infrastructure/.github/workflows/terraform.yml

18 lines
358 B
YAML
Raw Normal View History

2020-02-21 18:51:06 +00:00
name: Terraform
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install terraform
2020-02-21 18:53:11 +00:00
uses: marocchino/setup-terraform@v1
2020-02-21 18:51:06 +00:00
with:
version: "0.12.20"
- name: Initialize Terraform
run: terraform init
- name: Lint
run: ./scripts/terraform-lint.sh