initial workflow (#10)

Signed-off-by: matttrach <matttrach@gmail.com>
This commit is contained in:
Matt Trachier 2023-07-25 14:50:18 -05:00 committed by GitHub
parent ad24c5ccfe
commit 78f8eadc72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 26 additions and 0 deletions

26
.github/workflows/testing.yaml vendored Normal file
View File

@ -0,0 +1,26 @@
name: 'Testing'
on:
pull_request:
branches:
- main
jobs:
terraform:
name: 'Terraform'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Terraform
uses: hashicorp/setup-terraform@v1
with:
terraform_version: 1.5.3
with_wrapper: false
- name: Terraform Init
run: cd examples/basic && terraform init
- name: Terraform Plan
run: cd examples/basic && terraform init && terraform plan