Skip to content

Commit 939e253

Browse files
authored
Create go.yml (#59)
1 parent 2ea9473 commit 939e253

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/go.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Build MyIaC
2+
3+
on:
4+
push:
5+
branches: [issue/*, feature/*, update/*, fix/*, master]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
11+
build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
16+
- name: Set up Go
17+
uses: actions/setup-go@v2
18+
with:
19+
go-version: 1.15
20+
21+
- name: Build
22+
run: go build -v cmd/myiac/myiac.go
23+
24+
- name: Test
25+
run: ./myiac --help | grep "Infrastructure as code"

0 commit comments

Comments
 (0)