terraform-digitalocean-spoke/.github/workflows/terraform.yml
Dan Buch afde778e29
Modernizing many things
- use hashicorp/setup-terraform action
- bump terraform requirement to 0.13
- bump digitalocean provider requirement to 1.22
- bump to latest nvm
- remove a bunch of unnecessary quotes
2020-08-22 22:28:12 -04:00

19 lines
381 B
YAML

name: terraform
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
terraform:
name: Terraform
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: hashicorp/setup-terraform@v1
with:
terraform_version: 0.13.0
- run: terraform fmt -check -recursive
- run: terraform init
- run: terraform validate