Skip to content

Commit 29e4351

Browse files
author
Evy Bongers
authored
Add basic CI (#3)
1 parent ee9b9bb commit 29e4351

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @Pararius/devops

.github/workflows/ci.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name: Continuous Integration
3+
4+
on:
5+
pull_request:
6+
7+
jobs:
8+
check-formatting:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
13+
- name: Check formatting
14+
run: terraform fmt -check
15+
16+
validate-module:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v2
20+
21+
- name: Run terraform init
22+
run: terraform init
23+
24+
- name: Validate module
25+
run: terraform validate

0 commit comments

Comments
 (0)