Skip to content

Commit 81a6e5f

Browse files
author
Felix Zieger
committed
feat: CI
1 parent 25cecd9 commit 81a6e5f

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/workflow.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Terraform CI
2+
3+
on: push
4+
5+
jobs:
6+
validate:
7+
name: Validate
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Check out code
11+
uses: actions/checkout@v1
12+
13+
- uses: hashicorp/setup-terraform@v1
14+
with:
15+
terraform_version: 1.0.10
16+
17+
- run: terraform init
18+
19+
- run: terraform validate
20+
21+
- run: terraform fmt -recursive -check

0 commit comments

Comments
 (0)