Dan Buch
afde778e29
- 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
19 lines
381 B
YAML
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
|