Skip to content

Commit 6b20305

Browse files
committed
ci: add simple terraform tests
1 parent b6d317d commit 6b20305

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: test
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout Code
13+
uses: actions/checkout@v3
14+
- name: Setup Terraform
15+
uses: hashicorp/setup-terraform@v3
16+
- name: Terraform Setup
17+
run: terraform init
18+
- name: Terraform Validate
19+
run: terraform validate

0 commit comments

Comments
 (0)